Lines 797-803
Link Here
|
797 |
[%- END -%] |
797 |
[%- END -%] |
798 |
]; |
798 |
]; |
799 |
var browser = KOHA.browser('[% searchid | html %]', parseInt('[% biblionumber | html %]', 10)); |
799 |
var browser = KOHA.browser('[% searchid | html %]', parseInt('[% biblionumber | html %]', 10)); |
800 |
browser.create([% SEARCH_RESULTS.first.result_number | html %], '[% query_cgi | html %]', '[% limit_cgi | html %]','[% sort_cgi | html %]', |
800 |
browser.create([% SEARCH_RESULTS.first.result_number | html %], '[% query_cgi | html %]', '[% limit_cgi | html %]','[% sort_by| html %]', |
801 |
newresults, '[% total | html %]'); |
801 |
newresults, '[% total | html %]'); |
802 |
[% END %] |
802 |
[% END %] |
803 |
|
803 |
|
Lines 935-941
Link Here
|
935 |
var bibnums = getContextBiblioNumbers(); |
935 |
var bibnums = getContextBiblioNumbers(); |
936 |
if ( bibnums && bibnums.length > 0 ) { |
936 |
if ( bibnums && bibnums.length > 0 ) { |
937 |
var browser = KOHA.browser('', parseInt('[% biblionumber | html %]', 10)); |
937 |
var browser = KOHA.browser('', parseInt('[% biblionumber | html %]', 10)); |
938 |
browser.create(1, '[% query_cgi | html %]', '[% limit_cgi | html %]','[% sort_cgi | html %]', bibnums, bibnums.length); |
938 |
browser.create(1, '[% query_cgi | html %]', '[% limit_cgi | html %]','[% sort_by | html %]', bibnums, bibnums.length); |
939 |
window.location = '/cgi-bin/koha/catalogue/detail.pl?biblionumber=' + bibnums[0] + '&searchid='+browser.searchid; |
939 |
window.location = '/cgi-bin/koha/catalogue/detail.pl?biblionumber=' + bibnums[0] + '&searchid='+browser.searchid; |
940 |
} else { |
940 |
} else { |
941 |
alert(MSG_NO_ITEM_SELECTED); |
941 |
alert(MSG_NO_ITEM_SELECTED); |
942 |
- |
|
|