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

First page bug #124

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

First page bug #124

wants to merge 3 commits into from

Conversation

niquerio
Copy link
Collaborator

@niquerio niquerio commented Jun 4, 2024

There's been a problem with callnumber browse where the first page of results only has 2 results preceding the searched for result. This PR fixes that bug.

The problem has been that for the first page of results we need to use a different field for the filter query and the sort than we do have next and previous results. For next and previous we can use the id field because it has the full id, so the id will be found in the list. For the first page we only have what string the user submitted, so we need to use either the callnumber or the term field.


This doesn't work with author or subject browse. Need to do more investigating.

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

Successfully merging this pull request may close these issues.

1 participant