Skip to content

Commit 42b13e3

Browse files
authored
Merge pull request #135 from ebsco/pr-updates
Pr updates
2 parents dc83302 + e80f79f commit 42b13e3

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

Koha/Plugin/EDS.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ $PluginDir = $PluginDir.'/Koha/Plugin/EDS';
3131

3232
################# DO NOT TOUCH - CONTROLLED BY build.py
3333
our $MAJOR_VERSION = "22.11";
34-
our $SUB_VERSION = "001";
34+
our $SUB_VERSION = "002";
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-08-02';
37+
our $DATE_UPDATE = '2024-04-15';
3838
######################################################
3939

4040
## Here is our metadata, some keys are required, some are optional
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- DO NOT TOUCH THIS FILE - controlled by build.py -->
33
<kohaplugin>
4-
<latestversion>22.11.001</latestversion>
4+
<latestversion>22.11.002</latestversion>
55
<download>https://github.com/ebsco/edsapi-koha-plugin</download>
6-
<lastupdated>2023/08/02</lastupdated>
6+
<lastupdated>2024/04/15</lastupdated>
77
<releasenotes>
8-
<release version="22.11.001" date="2023/08/02">
9-
<note id="1" author="mmohkamkar@ebsco.com">Fixes issue with cart not displaying.</note>
8+
<release version="22.11.002" date="2024/04/15">
9+
<note id="1" author="mabrahamson@ebsco.com">Builds community PRs into installer.</note>
1010
</release>
1111
</releasenotes>
1212
</kohaplugin>

Koha/Plugin/EDS/js/EDSScript.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ edsConfig.pluginhttppath = "[% PLUGIN_HTTP_PATH %]";
4141
var searchBlockCount = 3;
4242

4343
// DO NOT TOUCH - controlled by build.py
44-
var versionEDSKoha = "22.11001";
44+
var versionEDSKoha = "22.11002";
4545
///////////////////////////////////////
4646

4747
if (document.title == "") {

Koha/Plugin/EDS/opac/2111/opac-sendbasket.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@
3838
use Koha::Token;
3939

4040
my $query = CGI->new;
41-
my $PluginDir = C4::Context->config("pluginsdir");
41+
my $pluginsdir = C4::Context->config("pluginsdir");
42+
my @pluginsdir = ref($pluginsdir) eq 'ARRAY' ? @$pluginsdir : $pluginsdir;
43+
my ($PluginDir) = grep { -f $_ . "/Koha/Plugin/EDS.pm" } @pluginsdir;
4244
$PluginDir = $PluginDir.'/Koha/Plugin/EDS';
4345
#require $PluginDir.'/opac/eds-methods.pl';
4446
do '../eds-methods.pl';

Koha/Plugin/EDS/opac/eds-raw.pl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@
8080

8181
my $api_response;
8282

83-
if($input->param("q") eq 'config'){
84-
$api_response = EDSGetConfiguration();
85-
}elsif($input->param("q") eq 'getip'){
83+
if($input->param("q") eq 'getip'){
8684
$api_response = GetLocalIP();
8785
}else{
8886
# Send Known Items

version.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"MajorVersion": "22.11",
3-
"MinorVersion": "001",
3+
"MinorVersion": "002",
44
"ReleaseNotes": [
55
{
6-
"author": "mmohkamkar@ebsco.com",
7-
"note": "Fixes issue with cart not displaying."
6+
"author": "mabrahamson@ebsco.com",
7+
"note": "Builds community PRs into installer."
88
}
99
],
1010
"ShaAdd": "https://widgets.ebscohost.com/prod/api/koha/sha/1711.json"

0 commit comments

Comments
 (0)