Previously invisible copies showed as beige in the staff client, they stopped doing... user/jamesrf/lp854972_invisible_staff_copy_counts
authorJames Fournie <jfournie@sitka.bclibraries.ca>
Tue, 20 Sep 2011 19:03:03 +0000 (12:03 -0700)
committerJames Fournie <jfournie@sitka.bclibraries.ca>
Tue, 20 Sep 2011 19:03:03 +0000 (12:03 -0700)
commitfa12976d41bcce8c5d6b521098a96ac37bad8e97
treed04e4bad1f78383a152272a351e8519123565182
parent5568ae69ac55ab021e3a2fe0583c3ca7602b8578
Previously invisible copies showed as beige in the staff client, they stopped doing this in 2.0

This is because in 2.0 the copy counts logic was moved from open-ils.storage.biblio.record_entry.copy_count.staff
to an in-database function wrapped in open-ils.search.biblio.record.copy_count.staff.  Both methods returned various
counts including an 'unshadow' count, however the 'unshadow' in the new database function was not completed and it
has only been returning a simple copy count rather than a count of opac visible copies as it should be to
replicate the old behaviour.

Signed-off-by: James Fournie <jfournie@sitka.bclibraries.ca>
Open-ILS/src/sql/Pg/040.schema.asset.sql
Open-ILS/src/sql/Pg/upgrade/xxxx.schema.lp854972_copy_counts_unshadow.sql [new file with mode: 0644]