LP#1698206: Remove remaining SQL uses of the old copy visibility cache
authorMike Rylander <mrylander@gmail.com>
Wed, 9 Aug 2017 18:14:42 +0000 (14:14 -0400)
committerKathy Lussier <klussier@masslnc.org>
Mon, 28 Aug 2017 15:14:54 +0000 (11:14 -0400)
commitaaf0056d49bd36518fff992fbbb2d3469c2e1d62
tree318e66fd8cc03038b4f2513088eb509c35713676
parent3af40daa339a695f11cbeddd2c6e0aeb4ed2ede7
LP#1698206: Remove remaining SQL uses of the old copy visibility cache

There were two remaining uses of the old copy vis cache in SQL functions used
to render OPAC pages.  This commit gets rid of those.

There is still one reference to the asset.opac_visible_copies table in the old
staged-search function, but that is not used anywhere in the code now, so no
need to change that.  Instead, we should start pruning old code.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.copy_vis_attr_cache.sql