Bug 38939: Add reservenote column to members/holdshistory.pl

To test:
1. APPLY PATCH, restart_all
2. Make some holds for patrons in both the staff client and the OPAC. ( For OPAC turn on  OpacHoldNotes )
3. Make sure you add some notes to each of these holds.
4. Go to the patron account and click on the 'Holds history' tab.
5. Make sure the hold note is there and looks correct.
6. Ensure you can hide the coluimn properly via Table settings.

Signed-off-by: Andrew Auld <andrew.auld@openfifth.co.uk>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 81859ce662)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Lucas Gass 2025-02-11 21:27:14 +00:00 committed by Paul Derscheid
parent b041f322de
commit aed4eb5974
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
2 changed files with 12 additions and 0 deletions

View File

@ -1447,6 +1447,8 @@ modules:
columnname: itemtype
-
columnname: status
-
columnname: notes
checkouthistory:
checkouthistory-table:

View File

@ -97,6 +97,7 @@
<th>Requested item type</th>
[% END %]
<th>Status</th>
<th>Notes</th>
</tr>
</thead>
</table>
@ -141,6 +142,7 @@
<th>Requested item type</th>
[% END %]
<th>Status</th>
<th>Notes</th>
</tr>
</thead>
</table>
@ -332,6 +334,14 @@
return _("Pending");
}
},
{
data: "notes",
searchable: true,
orderable: true,
render: function (data, type, row, meta) {
return row.notes;
}
},
],
}, table_settings, true, additional_filters);
}