]> git.evergreen-ils.org Git - 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:16:32 +0000 (22:16 -0400)
commit11eade3939fcea1fd5c8f1184fcba4d70dc81f65
treeead236184932afc189851ab40963bf4b4fa7e59c
parent44bc436649eefd8c23d90fc5ca6bb1a9f1a79ed7
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]