|
Lines 46-51
Link Here
|
| 46 |
'metadata_Author', |
46 |
'metadata_Author', |
| 47 |
'metadata_Title', |
47 |
'metadata_Title', |
| 48 |
'borrowername', |
48 |
'borrowername', |
|
|
49 |
'borroweruserid', |
| 49 |
'biblio_id', |
50 |
'biblio_id', |
| 50 |
'library', |
51 |
'library', |
| 51 |
'status', |
52 |
'status', |
|
Lines 107-114
Link Here
|
| 107 |
return value; |
108 |
return value; |
| 108 |
}; |
109 |
}; |
| 109 |
|
110 |
|
| 110 |
// Our 'render' function for borrowerlink |
111 |
// Our 'render' function for patron name |
| 111 |
var createPatronLink = function(data, type, row) { |
112 |
var createPatronName = function(data, type, row) { |
| 112 |
return '<a title="' + _("View borrower details") + '" ' + |
113 |
return '<a title="' + _("View borrower details") + '" ' + |
| 113 |
'href="/cgi-bin/koha/members/moremember.pl?' + |
114 |
'href="/cgi-bin/koha/members/moremember.pl?' + |
| 114 |
'borrowernumber='+row.borrowernumber+'">' + |
115 |
'borrowernumber='+row.borrowernumber+'">' + |
|
Lines 116-121
Link Here
|
| 116 |
'</a>'; |
117 |
'</a>'; |
| 117 |
}; |
118 |
}; |
| 118 |
|
119 |
|
|
|
120 |
// Our 'render' function for patron userid |
| 121 |
var createPatronUserID = function(data, type, row) { |
| 122 |
return '<a title="' + _("View borrower details") + '" ' + |
| 123 |
'href="/cgi-bin/koha/members/moremember.pl?' + |
| 124 |
'borrowernumber='+row.borrowernumber+'">' + |
| 125 |
row.patron_userid + |
| 126 |
'</a>'; |
| 127 |
|
| 119 |
// Our 'render' function for biblio_id |
128 |
// Our 'render' function for biblio_id |
| 120 |
var createBiblioLink = function(data, type, row) { |
129 |
var createBiblioLink = function(data, type, row) { |
| 121 |
return (row.biblio_id) ? |
130 |
return (row.biblio_id) ? |
|
Lines 184-191
Link Here
|
| 184 |
func: createActionLink |
193 |
func: createActionLink |
| 185 |
}, |
194 |
}, |
| 186 |
borrowername: { |
195 |
borrowername: { |
| 187 |
name: _("Patron"), |
196 |
name: _("Patron name"), |
| 188 |
func: createPatronLink |
197 |
func: createPatronName |
|
|
198 |
}, |
| 199 |
borroweruserid: { |
| 200 |
name: _("Patron username"), |
| 201 |
func: createPatronUserID |
| 189 |
}, |
202 |
}, |
| 190 |
illrequest_id: { |
203 |
illrequest_id: { |
| 191 |
name: _("Request number"), |
204 |
name: _("Request number"), |
|
Lines 276-282
Link Here
|
| 276 |
'bSearchable': false |
289 |
'bSearchable': false |
| 277 |
}, |
290 |
}, |
| 278 |
], |
291 |
], |
| 279 |
'aaSorting': [[ 6, 'desc' ]], // Default sort, updated descending |
292 |
'aaSorting': [[ 8, 'desc' ]], // Default sort, updated descending |
| 280 |
'processing': true, // Display a message when manipulating |
293 |
'processing': true, // Display a message when manipulating |
| 281 |
'iDisplayLength': 10, // 10 results per page |
294 |
'iDisplayLength': 10, // 10 results per page |
| 282 |
'sPaginationType': "full_numbers", // Pagination display |
295 |
'sPaginationType': "full_numbers", // Pagination display |
|
Lines 519-525
Link Here
|
| 519 |
<span class="label borrowernumber">Patron:</span> |
532 |
<span class="label borrowernumber">Patron:</span> |
| 520 |
[% borrowerlink = "/cgi-bin/koha/members/moremember.pl" _ "?borrowernumber=" _ request.patron.borrowernumber %] |
533 |
[% borrowerlink = "/cgi-bin/koha/members/moremember.pl" _ "?borrowernumber=" _ request.patron.borrowernumber %] |
| 521 |
<a href="[% borrowerlink | html %]" title="View borrower details"> |
534 |
<a href="[% borrowerlink | html %]" title="View borrower details"> |
| 522 |
[% request.patron.firstname _ " " _ request.patron.surname _ " [" _ request.patron.cardnumber _ "]" | html %] |
535 |
[% request.patron.firstname _ " " _ request.patron.surname _ " [" _ request.patron.cardnumber _ "] [" _ request.patron.userid _ "]" | html %] |
| 523 |
</a> |
536 |
</a> |
| 524 |
</div> |
537 |
</div> |
| 525 |
|
538 |
|
|
Lines 616-621
Link Here
|
| 616 |
<th>Author</th> |
629 |
<th>Author</th> |
| 617 |
<th>Title</th> |
630 |
<th>Title</th> |
| 618 |
<th>Patron</th> |
631 |
<th>Patron</th> |
|
|
632 |
<th>Patron username</th> |
| 619 |
<th>Bibliographic record ID</th> |
633 |
<th>Bibliographic record ID</th> |
| 620 |
<th>Library</th> |
634 |
<th>Library</th> |
| 621 |
<th>Status</th> |
635 |
<th>Status</th> |
| 622 |
- |
|
|