Summary: | OpacHiddenItems displays incorrect 'No results found' when all results on first page are hidden | ||
---|---|---|---|
Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
Component: | Searching | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | caroline.cyr-la-rose, ephetteplace, fridolin.somers, kohadevinim |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18989 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14007 |
||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Bug Depends on: | |||
Bug Blocks: | 24403 | ||
Attachments: | Sample MARC records (MARC21) |
Description
Nick Clemens (kidclamp)
2019-10-30 00:01:29 UTC
*** Bug 19688 has been marked as a duplicate of this bug. *** Still valid in current master (22.12.00.013). I attempted to create a marc file to replicate the problem with the sample data that comes with Koha (sample libraries, sample locations, sample item types), in MARC21. It has 25 records with items. The items have $a SPL $b SPL $c STAFF $d 2023-03-16 $Y BK except the last 3 items have no location ($c) and $d is 2023-03-11 1. Import the attached .mrc file, if needed reindex 2. In the OPAC, go to Advanced search, search for the following - Location and availability: Springfield - Sort by: Acquisition date: Newest to oldest --> You should have (at least) 25 results 3. In the OpacHiddenItems system preference, add the following line location: [STAFF] 4. In the OPAC, redo the search --> No results 5. Redo the search with the opposite sort (Acquisition date: Oldest to newest) --> 3 results Created attachment 148292 [details]
Sample MARC records (MARC21)
Sample MARC records (MARC21) with items
|