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> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
226f83cbb9
commit
09010a248b
|
|
@ -174,6 +174,8 @@ modules:
|
|||
columnname: suggestion
|
||||
-
|
||||
columnname: suggested_by
|
||||
-
|
||||
columnname: suggested_category
|
||||
-
|
||||
columnname: suggested_on
|
||||
-
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue