Skip to content

Commit 97bf471

Browse files
Deletes additional console logs and changes key name
1 parent d4d55b5 commit 97bf471

4 files changed

Lines changed: 5 additions & 10 deletions

File tree

Koha/Plugin/EDS.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ our $MAJOR_VERSION = "22.11";
3434
our $SUB_VERSION = "001";
3535
our $VERSION = $MAJOR_VERSION . "" . $SUB_VERSION;
3636
our $SHA_ADD = "https://widgets.ebscohost.com/prod/api/koha/sha/1711.json";
37-
our $DATE_UPDATE = '2023-07-31';
37+
our $DATE_UPDATE = '2023-08-02';
3838
######################################################
3939

4040
## Here is our metadata, some keys are required, some are optional

Koha/Plugin/EDS/admin/release_notes.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<kohaplugin>
44
<latestversion>22.11.001</latestversion>
55
<download>https://github.com/ebsco/edsapi-koha-plugin</download>
6-
<lastupdated>2023/07/31</lastupdated>
6+
<lastupdated>2023/08/02</lastupdated>
77
<releasenotes>
8-
<release version="22.11.001" date="2023/07/31">
8+
<release version="22.11.001" date="2023/08/02">
99
<note id="1" author="mmohkamkar@ebsco.com">Fixes issue with cart not displaying.</note>
1010
</release>
1111
</releasenotes>

Koha/Plugin/EDS/js/EDSScript.tt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ function SetEDS(showInfo) {
481481
jQuery('#transl1').removeClass('placeholder');
482482
//advSearch
483483
if (document.URL.indexOf("[% PLUGIN_HTTP_PATH %]/opac/eds-search.pl") != -1 && QueryString('q') == "") {
484-
console.log('koha switchtext');
484+
//console.log('koha switchtext');
485485
jQuery('a[href="/cgi-bin/koha/opac-search.pl"]').attr('title', kohaSwitchText);
486486
} else if (document.URL.indexOf("/cgi-bin/koha/opac-search.pl") != -1 && QueryString('q') == "") {RTCEncodedVideoFrame
487487
console.log('eds switchtext');
@@ -1275,7 +1275,7 @@ function EDSAutoComp() {
12751275
console.log("Running creds false...");
12761276
}
12771277
jQuery.getJSON('[% PLUGIN_HTTP_PATH %]/opac/eds-ac.pl?type=auth', function (data) {
1278-
eds_sessionStorage.set('autoComtranslControl1p', data);
1278+
eds_sessionStorage.set('autoComp', data);
12791279
eds_sessionStorage.set('autoComp_expiry', Math.round(Date.now() / 1000) + parseInt(data.AuthTimeout) - 30);
12801280
EDSAutoComp();
12811281
if (edsConfig.logerrors == "yes"){
@@ -1289,7 +1289,6 @@ function EDSAutoComp() {
12891289
}
12901290
jQuery('#translControl1').autocomplete({
12911291
source: function (request, response) {
1292-
console.log("In function within .autocomplete()...");
12931292
var promise = jQuery.ajax(creds.Autocomplete.Url, {
12941293
data: {
12951294
token: creds.Autocomplete.Token,
@@ -1301,11 +1300,8 @@ function EDSAutoComp() {
13011300
}])
13021301
}
13031302
});
1304-
console.log("Data in promise: " + promise);
13051303
promise.done(function (data) {
1306-
console.log("promise completed...");
13071304
if (data.error) {
1308-
console.log("data.error : " + data.error);
13091305
eds_sessionStorage.remove('autoComp');
13101306
eds_sessionStorage.remove('autoComp_expiry');
13111307

@@ -1314,7 +1310,6 @@ function EDSAutoComp() {
13141310
var terms = data.terms.map(function (wrapper) {
13151311
return wrapper.term;
13161312
});
1317-
console.log("no data.error, terms : " + terms);
13181313
response(terms);
13191314
}
13201315
});

eds_plugin_22.11001.kpz

-46 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)