Viewing search results on search.pl -- if I click 'Limit to currently available items.', any Bib records that have items which are on-loan or lost do not show in the facet search results.
Created attachment 43197 [details] Marc file containing 2 test bibs To replicate: Setup: Create the branches and itemtypes with the following branch codes, itemtypes respectively: Branches ======== BAILEYCOVE BOOKMOBILE GURLEY HAZELGREEN MADISON MAIN MONROVIA MURPHY NEWHOPE OUTREACH RUSSELL SHOWERS TRIANA Item types ========== BOOK BOOKCD QUICKPICK Import 'test_bug_14972', and make sure that both bibs are indexed. Step by step: 1) Do a keyword search on 'Gray Mountain', you should see two bibs with multiple items. 2) Click 'Limit to currently available items' -- this should show the same two bibs. -- note that under 3.16, where I identified the bug, this is what happens, on master, I don't get any results whatsoever -- so the bug is worse on master than it is in a previous version. 3) Check out one item on one of bibs, wait for fast-indexing to catch up. 4) Re-run steps 1) and 2). Now, 'Limit to currently available items' only shows the bib with no items checked out -- even though both bibs still have items available for checkout.
This bug seems to be present in 16.11 as well.
*** This bug has been marked as a duplicate of bug 11677 ***