Bugzilla – Attachment 146328 Details for
Bug 32603
Suggester category in Suggestions management
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32603: Suggester category in Suggestions management
Bug-32603-Suggester-category-in-Suggestions-manage.patch (text/plain), 3.15 KB, created by
Martin Renvoize (ashimema)
on 2023-02-07 13:27:24 UTC
(
hide
)
Description:
Bug 32603: Suggester category in Suggestions management
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-02-07 13:27:24 UTC
Size:
3.15 KB
patch
obsolete
>From e1b1bf5a9883fa838fc6ebaa1c6de6b3cb2cd490 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Tue, 10 Jan 2023 09:26:51 +0100 >Subject: [PATCH] Bug 32603: Suggester category in Suggestions management > >In Suggestions management, in the table displaying all suggestions, add >a column to display suggester category. This way, it is possible for >example for the librarian managing suggestions rather to prioritize >suggestions coming from teachers than those coming from students. > >TEST : > >1. Apply the patch. >2. Acquisition > Suggestions. >3. There is a new column 'Suggester category'. It can be > displayed/hidden. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > admin/columns_settings.yml | 2 ++ > .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 4 ++++ > 2 files changed, 6 insertions(+) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index d4da6b08abf..38a5f196627 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -174,6 +174,8 @@ modules: > columnname: suggestion > - > columnname: suggested_by >+ - >+ columnname: suggested_category > - > columnname: suggested_on > - >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 bfaef57f43d..4bed26ce98f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt >@@ -747,6 +747,7 @@ > <th class="NoSort noExport"> </th> > <th class="anti-the">Suggestion</th> > <th>Suggested by</th> >+ <th>Suggester category</th> > <th>Suggested on</th> > <th>Patron reason</th> > <th>Managed by</th> >@@ -808,6 +809,9 @@ > [% SET suggester = s.suggester %] > <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% suggester.borrowernumber | uri %]">[% suggester.surname | html %][% IF suggester.firstname %], [% suggester.firstname | html %][% END %] [% IF suggester.cardnumber %]([% suggester.cardnumber | html %])[% END %]</a> > </td> >+ <td> >+ [% suggester.category.description | html %] >+ </td> > <td data-order="[% s.suggesteddate | html %]"> > [% IF ( s.suggesteddate ) %][% s.suggesteddate | $KohaDates %][% END %] > </td> >-- >2.39.1
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 32603
:
145685
|
145746
| 146328