]> 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:40:01 +0000 (16:40 -0400)
commit461018fabc4ed18cba9e719af199e45cdf889483
tree7a83becc0b77462aaa08961c7760d6ce09f84c13
parent05e16eea42d1b6c4e282f36dd434d8170cc9669a
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]