Bug 30081: Add item type column to holds table
Add new column item type to holds table in patron's details and check out views. Some libraries will find this information useful for distinguishing inter library holds from normal holds. To test: 1. Apply patch 2. Place a hold and confirm it 3. Go to cgi-bin/koha/circ/circulation.pl?borrowernumber=1 with borrowernumber being the id of your patron 4. Click "1 Hold(s)" tab 5. Observe new column "Item type" 6. Confirm the item type is correct 7. Go to moremember.pl?borrowernumber=1 with borrowernumber being the id of your patron 8. Repeat steps 4-6 Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
adb11b866b
commit
a925cb8ba4
|
|
@ -840,6 +840,7 @@
|
|||
<th>Hold date</th>
|
||||
<th>Title</th>
|
||||
<th>Call number</th>
|
||||
<th>Item type</th>
|
||||
<th>Barcode</th>
|
||||
<th>Pickup at</th>
|
||||
<th>Expiration</th>
|
||||
|
|
|
|||
|
|
@ -776,6 +776,7 @@
|
|||
<th>Hold date</th>
|
||||
<th>Title</th>
|
||||
<th>Call number</th>
|
||||
<th>Item type</th>
|
||||
<th>Barcode</th>
|
||||
<th>Pickup at</th>
|
||||
<th>Expiration</th>
|
||||
|
|
|
|||
|
|
@ -172,6 +172,15 @@ $(document).ready(function() {
|
|||
return oObj.itemcallnumber && oObj.itemcallnumber.escapeHtml() || "";
|
||||
}
|
||||
},
|
||||
{
|
||||
"mDataProp": function( oObj ) {
|
||||
var data = "";
|
||||
if ( oObj.itemtype ) {
|
||||
data += oObj.itemtype;
|
||||
}
|
||||
return data;
|
||||
}
|
||||
},
|
||||
{
|
||||
"mDataProp": function( oObj ) {
|
||||
var data = "";
|
||||
|
|
|
|||
Loading…
Reference in New Issue