Bugzilla – Attachment 145967 Details for
Bug 32774
Add patron category to suggestion management tables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32774: Add suggester category column to suggestion tables
Bug-32774-Add-suggester-category-column-to-suggest.patch (text/plain), 2.97 KB, created by
Lucas Gass (lukeg)
on 2023-02-01 16:55:14 UTC
(
hide
)
Description:
Bug 32774: Add suggester category column to suggestion tables
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-02-01 16:55:14 UTC
Size:
2.97 KB
patch
obsolete
>From cdaa3e425c1870de336dab39aaa2369e58f38796 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 1 Feb 2023 16:52:30 +0000 >Subject: [PATCH] Bug 32774: Add suggester category column to suggestion tables > >To test: >1. Apply patch >2. Restart_all >3. Make some suggestions >4. Go to Acquisitions > Suggestions management >5. Notice the new 'Suggester category' column which included the patron category of the suggester. >6. Put some suggestions in different statuses and make sure you see the new column on each of the tables. >7. Go to Table settings and make sure you can properly hide the new column and any other column in the table. >--- > admin/columns_settings.yml | 2 ++ > .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 2 ++ > 2 files changed, 4 insertions(+) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index d4da6b08abf..ab77e5ee28e 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -174,6 +174,8 @@ modules: > columnname: suggestion > - > columnname: suggested_by >+ - >+ columnname: suggester_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..8959d39584c 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,7 @@ > [% 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 %] ([% suggester.categorycode | html %])</td> > <td data-order="[% s.suggesteddate | html %]"> > [% IF ( s.suggesteddate ) %][% s.suggesteddate | $KohaDates %][% END %] > </td> >-- >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 32774
:
145917
|
145927
|
145967
|
145975
|
146197
|
146198