Auth, after verifying the session/logging in the user, calls to the database
to get the users borrowernumber. This call is probably unnecessary because
borrowernumber is part of userenv. Check userenv before going to the database.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
When rebuild_zebra.pl is run from cron, there is an occasional error
of the form:
Use of uninitialized value $str in substitution (s///) at /home/ebpl/kohaclone/C4/Charset.pm line 304.
This error is occuring when the string that is fed to Charset::StripNonXmlChars
is null or undefined, for some reason.
This fix will handle the null-or-empty condition, and thus suppress the error.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
In routing-preview, the title should be the branchname attached to the
subscription instead of the libraryname.
And showing the streetaddress of the members is useless, and harm privacy.
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
In addbook.pl, the framework options are sorted in random order. They should be
sorted in alphabetical order of value or code.
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This fix the 2 plugins, make 225a to work with koha 3.0, and fix 210c to be xhtml valid
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This add the support of keyword => MARC field mapping, ton abstract the relation between human readable fields like subtitle, title, authors, location, ... and MARC fields in each framework.
This will allow to koha developper to be more flexible with each framework and don't care about the MARC flavour, just require some "keywords" to the user.
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This patch, is the first use of GetRecordValue, that use the Field mapping.
It retrieve the subtitle in Intranet using it, instead of the use an old function that doesn't work anymore.
This is a way to made koha more generic with each framework.
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>