Bug 30599

Summary: Allow archiving multiple suggestions
Product: Koha Reporter: Nick Clemens <nick>
Component: AcquisitionsAssignee: Nick Clemens <nick>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: caroline.cyr-la-rose, felicity.brown, kyle, martin.renvoize, victor
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33002
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Martin Renvoize Documentation submission: https://gitlab.com/koha-community/koha-manual/-/merge_requests/629
Text to go in the release notes:
Version(s) released in:
22.05.00,21.11.06
Bug Depends on:    
Bug Blocks: 31027    
Attachments: Bug 30599: Add an 'Archive selected' button
Bug 30599: Add an 'Archive selected' button
Bug 30599: Add an 'Archive selected' button
Bug 30599: Add an 'Archive selected' button

Description Nick Clemens 2022-04-22 19:15:38 UTC
The code on the staff client can accept multiple suggestions for archiving, however, there is no button to do so
Comment 1 Nick Clemens 2022-04-22 19:18:20 UTC Comment hidden (obsolete)
Comment 2 Andrew Fuerste-Henry 2022-04-22 19:53:18 UTC Comment hidden (obsolete)
Comment 3 Andrew Fuerste-Henry 2022-04-22 20:33:33 UTC Comment hidden (obsolete)
Comment 4 Katrin Fischer 2022-04-25 11:18:20 UTC
Created attachment 133739 [details] [review]
Bug 30599: Add an 'Archive selected' button

This patch simply adds a new button on the suggestions interface to allow
for archiving multiple suggestions.

To test:
1 - Apply patch
2 - Create some purchase suggestions
3 - Select several suggestions
4 - Click 'Archive selected'
5 - Suggestions are archived
6 - You can view archived suggestions by selecting 'Suggestion information'->'Include archived'

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>

Signed-off-by: Felicity Brown <felicity.brown@montgomerycountymd.gov>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 5 Katrin Fischer 2022-04-25 11:18:52 UTC
Spotting a new name here - thx for your sign-off, Felicity :)
Comment 6 Felicity Brown 2022-04-26 17:31:34 UTC
This would be great to get into the next release! Our acquisitions staff would be grateful!
Comment 7 Fridolin Somers 2022-05-02 21:25:45 UTC
Pushed to master for 22.05, thanks to everybody involved 🦄
Comment 8 Kyle M Hall 2022-05-13 15:52:34 UTC
Pushed to 21.11.x for 21.11.06
Comment 9 Victor Grousset/tuxayo 2022-06-23 01:46:08 UTC
Not backported to oldoldstable (21.05.x). Feel free to ask if it's needed.
Comment 10 Martin Renvoize 2022-06-23 13:54:57 UTC
First one I've come across that's backported and affects documentation..

https://koha-community.org/manual/22.05/en/html/acquisitions.html?highlight=suggestion#managing-purchase-suggestions

The screenshot of the 'Suggestions management' page will need replacing to include the new 'Archive selected' box that appears.
Comment 11 Martin Renvoize 2022-06-23 14:29:41 UTC
Holding off on updating the docs screenshots whilst we consider bug 31027
Comment 12 Caroline Cyr La Rose 2023-02-17 18:52:09 UTC
22.05 manual has already been done https://koha-community.org/manual/22.05/en/html/acquisitions.html#managing-purchase-suggestions

However, I'm trying to get the 'Archive selected' button on the current master to update the screenshot with the new staff design and I don't see it... Did we remove this functionality since?
Comment 13 Caroline Cyr La Rose 2023-02-20 15:41:14 UTC
I created bug 33002 and Katrin made a patch for it, so I was able to update the screenshots!