Bug 24819: (follow-up) Rename suggestion_search to suggestor_search
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
fa58034491
commit
14783dabbe
4 changed files with 4 additions and 4 deletions
|
@ -378,7 +378,7 @@
|
|||
<td><input type="text" id="suggesteddate" name="suggesteddate" class="datepicker" size="10" maxlength="10" value="[% suggesteddate | $KohaDates %]"/>[% INCLUDE 'date-format.inc' %]</td>
|
||||
<td id="tdsuggestedby"><input type="hidden" id="suggestedby" name="suggestedby" value="[% suggestedby | html %]"/>[% IF ( suggestedby_patron.borrowernumber ) %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% suggestedby_patron.borrowernumber | uri %]">[% suggestedby_patron.surname | html %], [% suggestedby_patron.firstname | html %] ([% suggestedby_patron.cardnumber | html %])</a> [% Branches.GetName( suggestedby_patron.branchcode ) | html %] ([% suggestedby_patron.category.description | html %])[% END %]
|
||||
</td>
|
||||
<td><a href="#" id="suggestion_search" class="btn btn-default">Set to patron</a></td>
|
||||
<td><a href="#" id="suggestor_search" class="btn btn-default">Set to patron</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="accepteddate">Accepted on:</label> </th>
|
||||
|
|
|
@ -9,9 +9,9 @@ function select_user(borrowernumber, borrower) {
|
|||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$('body').on('click', '#suggestion_search', function(e) {
|
||||
$('body').on('click', '#suggestor_search', function(e) {
|
||||
e.preventDefault();
|
||||
var newin = window.open('suggestion_search.pl','popup','width=600,height=400,resizable=no,toolbar=false,scrollbars=yes,top');
|
||||
var newin = window.open('suggestor_search.pl','popup','width=600,height=400,resizable=no,toolbar=false,scrollbars=yes,top');
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
@ -48,7 +48,7 @@ my $patron_categories = Koha::Patron::Categories->search_limited;
|
|||
$template->param(
|
||||
view => ( $input->request_method() eq "GET" ) ? "show_form" : "show_results",
|
||||
columns => ['cardnumber', 'name', 'dateofbirth', 'address', 'action' ],
|
||||
json_template => 'suggestion/tables/suggestion_search.tt',
|
||||
json_template => 'suggestion/tables/suggestor_search.tt',
|
||||
selection_type => 'select',
|
||||
alphabet => ( C4::Context->preference('alphabet') || join ' ', 'A' .. 'Z' ),
|
||||
categories => $patron_categories,
|
Loading…
Reference in a new issue