File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ our $MAJOR_VERSION = "21.11";
3434our $SUB_VERSION = " 004" ;
3535our $VERSION = $MAJOR_VERSION . " " . $SUB_VERSION ;
3636our $SHA_ADD = " https://widgets.ebscohost.com/prod/api/koha/sha/1711.json" ;
37- our $DATE_UPDATE = ' 2023-04-04 ' ;
37+ our $DATE_UPDATE = ' 2023-06-15 ' ;
3838# #####################################################
3939
4040# # Here is our metadata, some keys are required, some are optional
Original file line number Diff line number Diff line change 33<kohaplugin >
44 <latestversion >21.11.004</latestversion >
55 <download >https://github.com/ebsco/edsapi-koha-plugin</download >
6- <lastupdated >2023/04/04 </lastupdated >
6+ <lastupdated >2023/06/15 </lastupdated >
77 <releasenotes >
8- <release version =" 21.11.004" date =" 2023/04/04 " >
8+ <release version =" 21.11.004" date =" 2023/06/15 " >
99 <note id =" 1" author =" cwolf@ebsco.com" >Adds additional support for translations.</note >
1010 </release >
1111 </releasenotes >
Original file line number Diff line number Diff line change @@ -650,6 +650,9 @@ function QueryString(key) {
650650
651651//BASKET START---------
652652function InitCartWithEDS() {
653+ if (edsConfig.logerrors == "yes"){
654+ console.log("Cart initialized...");
655+ }
653656 jQuery('#addto').change(function () { CheckEDSRecordsforAddToList(); });
654657 jQuery('.addto input:submit').click(function () { CheckEDSRecordsforAddToList(); });
655658
@@ -664,14 +667,18 @@ function InitCartWithEDS() {
664667}
665668
666669async function PrepareItems() {
667-
670+ if (edsConfig.logerrors == "yes"){
671+ console.log("Running PrepareItems()...");
672+ }
668673 //Get Bib numbers from the url
669674 var recordList = document.URL;
670675 recordList = QueryString("bib_list").toString();
671676
672677 //Split bib list into array on /
673678 var recordId = recordList.split("/");
674-
679+ if (edsConfig.logerrors == "yes"){
680+ console.log(recordId);
681+ }
675682 //Iterate through all the record IDs
676683 for (var edsItemCount = 0; edsItemCount < recordId.length - 1; edsItemCount++) {
677684 //Check that it doesn't have the catalogue dbid
You can’t perform that action at this time.
0 commit comments