[Koha-bugs] [Bug 23923] OpacHiddenItems displays incorrect 'No results found' when all results on first page are hidden

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 16 22:03:40 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23923

Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caroline.cyr-la-rose at inlibr
                   |                            |o.com

--- Comment #3 from Caroline Cyr La Rose <caroline.cyr-la-rose at inlibro.com> ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list