ک
ڱ
ڳ
گ
ڦ
ف
ٿ
ث
ٽ
ٺ
ت
ڀ
پ
ٻ
ب
ا
خ
ڇ
چ
ڃ
ڄ
ج
ح
ڍ
ڊ
ڏ
ڌ
ذ
د
ي
ض
ص
ق
و
ش
س
ل
ن
م
ڙ
ز
ر
غ
ع
ُ
ّ
۰
؟
،
آ
۾
۽
ء
ڪ
گھ
جھ
ھ
ظ
ط
ڻ
//**Autocomplete support to MARC21 catalogue**//
$(document).ready(function(){
$( '[id^="tag_260_subfield_a"]' ).autocomplete({
source: function(request, response) {
$.ajax({
url: "/cgi-bin/koha/cataloguing/ysearch.pl",
dataType: "json",
data: {
term: request.term,
table: "biblioitems",
field: "place"
},
success: function(data) {
response( $.map( data, function( item ) {
return {
label: item.fieldvalue,
value: item.fieldvalue
};
}));
}
});
},
minLength: 1,
});
$( '[id^="tag_020_subfield_a"]' ).autocomplete({
source: function(request, response) {
$.ajax({
url: "/cgi-bin/koha/cataloguing/ysearch.pl",
dataType: "json",
data: {
term: request.term,
table: "biblioitems",
field: "ISBN"
},
success: function(data) {
response( $.map( data, function( item ) {
return {
label: item.fieldvalue,
value: item.fieldvalue
};
}));
}
});
},
minLength: 1,
});
$( '[id^="tag_260_subfield_b"]' ).autocomplete({
source: function(request, response) {
$.ajax({
url: "/cgi-bin/koha/cataloguing/ysearch.pl",
dataType: "json",
data: {
term: request.term,
table: "biblioitems",
field: "publishercode"
},
success: function(data) {
response( $.map( data, function( item ) {
return {
label: item.fieldvalue,
value: item.fieldvalue
};
}));
}
});
},
minLength: 1,
});
$( '[id^="tag_250_subfield_a"]' ).autocomplete({
source: function(request, response) {
$.ajax({
url: "/cgi-bin/koha/cataloguing/ysearch.pl",
dataType: "json",
data: {
term: request.term,
table: "biblioitems",
field: "Editionstatement"
},
success: function(data) {
response( $.map( data, function( item ) {
return {
label: item.fieldvalue,
value: item.fieldvalue
};
}));
}
});
},
minLength: 1,
});
});
//]]>
There are no comments for this item.