LP#
1798910: Update bib visibility whenever necessary
Before this commit, we avoid a trigger loop related to updating a bib
record's visibility attributes in the heavy-handed way of refusing to do
so if the 'ingest.reingest.force_on_same_marc' flag is enabled.
However, this keeps us from seeing Located URI changes.
This commit, inspired by Josh Stompro, checks to see if the bib's
visibility attributes have actually changed due to a located URI change,
and only updates the row in that case. It also forces a stable order
for LURI-based visibility to avoid any possible flapping due to returned
row order when LURIs are updated or regenerated.
Signed-off-by: Mike Rylander <mrylander@gmail.com>