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>
(cherry picked from commit 09010a248b)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
This commit is contained in:
parent
ebb2a77c3b
commit
fad66a3dc0
|
|
@ -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