]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1906858 Carousels Ignore Deleted Flag user/gcollum/LP1906858-Carousels_Ignore_Deleted_Flag
authorGarry Collum <gcollum@gmail.com>
Mon, 14 Dec 2020 17:48:13 +0000 (12:48 -0500)
committerGarry Collum <gcollum@gmail.com>
Mon, 14 Dec 2020 17:48:13 +0000 (12:48 -0500)
commit81b5090646345767a3e65ad3ddc12f41118b7894
tree34505067e35116519aae79493b5b1f0f5ca13013
parent0297d91ccfb3e5f7d321e441458cbfe167e690ac
LP1906858 Carousels Ignore Deleted Flag

Adds logic to look for the copy deleted flag in the carousel queries.

To test in concerto, it is easiest to create one item on three or four bibs
and assign the same org unit and location code to these items.

Check the items in. Check the items out, and then check them back in at their home OU.

Create 4 carousels.  Newly Catalogued Items, Recently Returned Items, Top Circulated Items, and Newest Items by Shelving Location.
Make sure the carousels pull from the item library for which the items belong,
and set the owner to CONS. Select and add the correct shelving location.

Refresh the carousels. In the edit dialog box of each carousel, you can click the Link to bucket link to see the titles in the bucket.

Delete one of the items.  Refresh the carousels once more and notice that the deleted title still appears.

Apply the patch.

Refresh the carousels, and the delete item should now be gone.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/container.pm