Bugzilla – Attachment 133694 Details for
Bug 30599
Allow archiving multiple suggestions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30599: Add an 'Archive selected' button
Bug-30599-Add-an-Archive-selected-button.patch (text/plain), 2.03 KB, created by
Nick Clemens (kidclamp)
on 2022-04-22 19:18:20 UTC
(
hide
)
Description:
Bug 30599: Add an 'Archive selected' button
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-04-22 19:18:20 UTC
Size:
2.03 KB
patch
obsolete
>From 5b6e7412feb7dc6e010fc3454ac17d2f01e9895d Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 22 Apr 2022 19:15:43 +0000 >Subject: [PATCH] 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' >--- > .../prog/en/modules/suggestion/suggestion.tt | 10 ++++++++++ > 1 file changed, 10 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >index 22f161aea8..46aa8e83b4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -956,6 +956,16 @@ > </fieldset> > </fieldset> > </div> <!-- /.col-sm-2 --> >+ <div class="col-sm-2"> >+ <fieldset> >+ <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-default btn-xs" value="archive">Archive</button> >+ </fieldset> >+ </fieldset> >+ </div> <!-- /.col-sm-2 --> > </div> <!-- /.row --> > > [% ELSE %] >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30599
:
133694
|
133695
|
133697
|
133739