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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit
09010a248b65c7a47973c208809c1915dac3fe0e)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
-
columnname: suggested_by
-
+ columnname: suggested_category
+ -
columnname: suggested_on
-
columnname: patron_reason
<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>
[% 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>