]> git.evergreen-ils.org Git - Evergreen.git/commit
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:51:35 +0000 (16:51 -0400)
commit13672c74cdee1db5758ab33b8034e96b91b72ea0
tree36ce4da0d8d700fe73eb7e69628c10fe6f3b82ab
parent9f17844f2b5b363bdc37426e091a49b8a5ccfafe
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]