]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1112723 Consider copy-level opac_visible flag when ranking
authorDan Wells <dbw2@calvin.edu>
Thu, 7 Mar 2013 13:30:02 +0000 (08:30 -0500)
committerBen Shum <bshum@biblio.org>
Wed, 19 Aug 2015 02:15:26 +0000 (22:15 -0400)
commit749afa186f2979f59bcc7005ef3fd54e1417cba1
treeeca825aa5730535a408e90c60f0808d11bf78f51
parent2e8b4fb33c5e5ac8c0488f5fc8926ec142d4dd0c
LP#1112723 Consider copy-level opac_visible flag when ranking

The current unAPI calls consider opac_visibility of the status,
but not the copy itself. If you have a record with copies set to
opac_visible = false, you might see few or no copies in the OPAC
results list, as these invisible copies may be the first five
returned, and they then crowd out the visible copies.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.rank_cp_visibility.sql [new file with mode: 0644]