Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max_rows is applied before header sort #150

Open
Nickduino opened this issue Nov 12, 2024 · 0 comments
Open

max_rows is applied before header sort #150

Nickduino opened this issue Nov 12, 2024 · 0 comments

Comments

@Nickduino
Copy link

I have a list of N service stations sorted by price (sort_by: state+) for which I display the top 5 (max_rows: 5). This works.

Now, if I click on the distance header on my card, what I get is the same five cheapest stations sorted by distance (but these stations might be quite far). What I'd like to get is the five closest (still sorted by distance).

Is there a way to apply max_rows: after the sorting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant