diff --git a/MapIntegration-1.0.6.kpz b/MapIntegration-1.0.6.kpz
new file mode 100644
index 0000000..8d1aee2
Binary files /dev/null and b/MapIntegration-1.0.6.kpz differ
diff --git a/MapIntegration/Koha/Plugin/MapIntegration.pm b/MapIntegration/Koha/Plugin/MapIntegration.pm
index bc6ec2e..148e782 100644
--- a/MapIntegration/Koha/Plugin/MapIntegration.pm
+++ b/MapIntegration/Koha/Plugin/MapIntegration.pm
@@ -7,18 +7,20 @@ use Koha::Biblios;
use Koha::Items;
use Koha::Item;
+use JSON;
+
use C4::Biblio qw(
GetBiblioData);
use base qw(Koha::Plugins::Base);
-our $VERSION = "0.1.3";
+our $VERSION = "1.0.6";
our $metadata = {
name => 'Map Integration',
- author => 'imCode.com',
+ author => 'imCode.com.',
date_authored => '2023-12-01',
- date_updated => "2024-01-15",
+ date_updated => "2026-09-02",
minimum_version => '21.11.00.000',
maximum_version => undef,
version => $VERSION,
@@ -48,7 +50,8 @@ sub configure {
## Grab value if exist
$template->param(
- path_host => $self->retrieve_data('path_host'),
+ path_host => $self->retrieve_data('path_host'),
+ include_subtitle => $self->retrieve_data('include_subtitle'),
);
return $self->output_html( $template->output() );
@@ -56,7 +59,8 @@ sub configure {
else {
$self->store_data(
{
- path_host => $cgi->param('host')
+ path_host => $cgi->param('host'),
+ include_subtitle => $cgi->param('include_subtitle') ? 1 : 0,
}
);
$self->go_home();
@@ -84,6 +88,7 @@ sub opac_js {
my $items = Koha::Items->search( { biblionumber => $biblionumber });
my $dat = &GetBiblioData($biblionumber);
+ my $dat_json = to_json($dat, { utf8 => 0, pretty => 0 });
#inspired by opac-detail.pl
my $shelflocations =
@@ -93,24 +98,43 @@ sub opac_js {
my $js = "";
return $js;
-
+
}
}
-1;
\ No newline at end of file
+1;
diff --git a/MapIntegration/Koha/Plugin/MapIntegration/configure.tt b/MapIntegration/Koha/Plugin/MapIntegration/configure.tt
index b11f933..45599c0 100644
--- a/MapIntegration/Koha/Plugin/MapIntegration/configure.tt
+++ b/MapIntegration/Koha/Plugin/MapIntegration/configure.tt
@@ -18,6 +18,11 @@
+
+