Bug 33845: Display hold notes in staff client circulation paes
This patch adds the reservenotes column to svc holds, and ensures they display on circulation and memeber details To test: 1 - Enable system preference 'OpacHoldNotes' 2 - Place a hold for a ptron via the OPAC 3 - View the patron in the staff client 4 - Click on the 'Holds' tab 5 - Ensure you can see the hold note 6 - Click on the 'Circulation' tab on the left 7 - Click the 'Holds' tab and confirm you can view the note Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
e1df591870
commit
baffe97f3e
|
|
@ -150,6 +150,7 @@
|
|||
<th>Pickup at</th>
|
||||
<th>Expiration</th>
|
||||
<th>Priority</th>
|
||||
<th>Notes</th>
|
||||
<th>Delete?</th>
|
||||
<th>Suspend?</th>
|
||||
<th>Status</th>
|
||||
|
|
|
|||
|
|
@ -233,6 +233,7 @@ $(document).ready(function() {
|
|||
}
|
||||
}
|
||||
},
|
||||
{ "data": "reservenotes" },
|
||||
{
|
||||
"bSortable": false,
|
||||
"mDataProp": function( oObj ) {
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ while ( my $h = $holds_rs->next() ) {
|
|||
waiting_at => $h->branch()->branchname(),
|
||||
waiting_here => $h->branch()->branchcode() eq $branch,
|
||||
priority => $h->priority(),
|
||||
reservenotes => $h->reservenotes(),
|
||||
itemtype_limit => $itemtype_limit,
|
||||
reservedate_formatted => $h->reservedate() ? output_pref(
|
||||
{ dt => dt_from_string( $h->reservedate() ), dateonly => 1 }
|
||||
|
|
|
|||
Loading…
Reference in New Issue