https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28527
--- Comment #16 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 203484 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203484&action=edit Bug 28527: (follow-up) Fix catalog search results still showing available C4::Search's item-status computation for search results bypasses the Koha::Item->get_transfer(s) methods entirely with its own raw query "for speed", and that query still explicitly excluded cancelled transfers. Bug 28527's own patch never touched this file, so a cancelled-but-undelivered transfer had no effect here: the item carried on showing as available in catalogue search results even though the physical item might still be en route. Drop the datecancelled exclusion here too, matching the broadened Koha::Item::Transfers semantics the rest of the patch already uses. Test plan: 1. Reproduce: create a transfer, cancel it while in transit (datesent set, datearrived/datecancelled both set), search the catalogue for the item. => Before this patch: item shows as available. => After this patch: item shows as in transit. 2. prove t/db_dependent/Search.t -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
