Previously invisible copies showed as beige in the staff client, they stopped doing...
authorJames Fournie <jfournie@sitka.bclibraries.ca>
Tue, 20 Sep 2011 19:03:03 +0000 (12:03 -0700)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 4 Nov 2011 20:43:41 +0000 (16:43 -0400)
commite2fdcbbc4a4f27aa94cdb64051b99bda509ea25c
treed38d7c0260ad63be93728182fbab6a8d6e58b993
parent540554a743add4c9692be71deb31c916021564f5
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>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/040.schema.asset.sql
Open-ILS/src/sql/Pg/upgrade/0646.schema.lp854972_copy_counts_unshadow.sql [new file with mode: 0644]