this system preference was created but not added to system preferences
Changing the kohaversion in kohaversion script
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
this patch just add a condition to the sql request to return a warning
only if authtypecode is not in an ignored subfield.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
In opac-results.tmpl and opac-detail.tmpl, AmazonContent is used
rather than OPACAmazonContent to enable/disable Amazon book jacket.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
Lines explicitly ended with semicolons. Allow some better behavior if TMPL_VAR's
are undefined or zero.
Note FIXME added. I believe this is part of the fragmentary integration of
Katipo code for GST. Would be obliged if someone with access there can confirm.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
The javascript is malformed and therefore fails the onsubmit check if
gist does not receive a value. This patch allows failover to default 0.
Also removed an unused dbh.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
If Amazon doesn't have an avg. rating number defined, then we cannot multiply it
by 20 without the following warning:
detail.pl: Use of uninitialized value in multiplication (*)
at /home/user/kohaclone/catalogue/detail.pl line 228.
So the important part of this patch is || 0 on the $average_rating assignment.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
This patch add a field in the ->execute() statement which was missing.
The sql request have 8 args, and only 7 was passed.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
This patch is writted by Paul Poulain.
It auto-select the marcflavour from syspref in the stage marc import.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
this patch disable the button to delete all of items if there is no item attached to the marc record.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
This patch just transform the script to set the field title as "--" if it was already shown.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
In for loops, replace all-inclusive conditional blocks like:
for (@foo) {
if (test) {
block;
}
}
with conditional use of "next":
for (@foo) {
test or next;
block;
}
This reduces the number of unnecessarily nested blocks, and the
overall number of lines.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
Advances search limit by shelving location doesn't work due to
missing ccl definition in default installation. Once updated,
the zebradb will need to be reindexed.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
If the syspref 'AllowNotForLoanForcing'(YESNO) is set to YES, the librarian is able to force a loan on an item set as "not for
loan".
If the item is not for loan and the syspref is set to YES, koha will ask to the librarian if he really want to check-out it,
else do nothing.
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>