LP#1112723 Consider copy-level opac_visible flag when ranking user/dbwells/lp1112723_unapi_rank_cp_visibility_check
authorDan Wells <dbw2@calvin.edu>
Thu, 7 Mar 2013 13:30:02 +0000 (08:30 -0500)
committerDan Wells <dbw2@calvin.edu>
Mon, 8 Jun 2015 13:50:52 +0000 (09:50 -0400)
commit897b2f39309d03e9e2a4d6f8894d4008fc45bc5f
treebf0ad0bad82d9a52e01ae98c5ec681b2deb6c9a5
parent6bb8ea5599d39d41d623d1891b3c509c4e439178
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>
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]