]> git.koha-community.org Git - koha.git/commit
Bug 35911: Make archived suggestions not show in patron's account
authorShi Yao Wang <shi-yao.wang@inlibro.com>
Fri, 23 Feb 2024 20:01:43 +0000 (15:01 -0500)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 19 Mar 2024 21:02:57 +0000 (21:02 +0000)
commitcd533cb16a6844181cae5befbef61af51651ddef
tree6dbbdfb369278193060b2411dfed167b262b107f
parenta6346c7e58f89c4452aae0c5020082cdce8b6cd5
Bug 35911: Make archived suggestions not show in patron's account

Remove archived suggestions in patron's account page

Test plan:
1. Go to a patron's account in the staff interface
2. Go to the Suggestions tab
3. Click New purchase suggestion and create a suggestion
4. In another browser tab, go to Acquisitions > Suggestions
5. Click the small arrow next to the edit button to the right of the suggestion, and choose Archive (alternatively, check the suggestion's box and click Archive selected)
   --> Suggestion disappears from the suggestions management page (OK)
6. Go back to the tab with the patron's account and refresh
   --> Suggestion is still visible
7. Apply the patch
8. Redo step 6 and notice the suggestion is not visible anymore
9. Redo step 4 and 5 but this time, unarchiving the suggestion
10. Redo step 6 and notice the suggestion is back

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit ac71adbd23e2d3a6c599ac963b042576dca635f3)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit d35481b1abb0f9fe30acefd14070f74d1265c50b)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
members/purchase-suggestions.pl