Skip to content

First page bug#124

Draft
niquerio wants to merge 3 commits intomainfrom
first-page-bug
Draft

First page bug#124
niquerio wants to merge 3 commits intomainfrom
first-page-bug

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