Bug 33002: Restore "Archive selected" for archiving multiple suggestions

It looks like this button, added by bug 30599 was later
accidentally removed again. This is giving it a comeback.

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: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 956ae915b0)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
This commit is contained in:
Katrin Fischer 2023-02-18 10:04:07 +00:00 committed by Jacob O'Mara
parent 996527b28e
commit 22fe60e3f3
1 changed files with 10 additions and 0 deletions

View File

@ -992,6 +992,16 @@
</fieldset>
</fieldset>
</div> <!-- /.col-sm-2 -->
<div class="col-sm-2">
<fieldset class="brief">
<span class="label">Archive selected</span>
<input type="hidden" name="branchcode" value="[% branchfilter | html %]" />
<input type="hidden" name="filter_archived" value="[% filter_archived | html %]" />
<fieldset class="action">
<button type="submit" class="btn btn-primary" value="archive">Archive</button>
</fieldset>
</fieldset>
</div> <!-- /.col-sm-2 -->
</div> <!-- /.row -->
[% ELSE %]