kados [Sat, 4 Mar 2006 17:10:48 +0000 (17:10 +0000)]
VERY IMPORTANT NOTES!!! READ OR YOU MAY RUIN YOUR ENCODING
Previous commits replaced the use of the MARChtml2marc
routine with a MARChtml2xml that reads in the form data and
converts it to a MARC::File::XML object. It then passes that
to MARC::Record via the new_from_xml() method.
This works perfectly and fixes all of the bugs with the old
MARChtml2marc routine (see mail to koha-devel). However,
there is one gotcha. The MARC::File::XML new_from_xml() method
converts UTF-8 data into MARC-8 by default for historical reasons.
This means that entry of characters outside the normal ascii range
in UTF-8 will come out as gibberish in MARC-8. Never fear, there
is a solution.
This commit uses code written for MARC::File::XML version 0.82 to
add the ability to specify the encoding desired (I chose UTF-8
because I can't think of a reason to ever need MARC-8)
The bottom line is that to properly encode records YOU WILL HAVE
TO UPDATE MARC::File::XML to at least CPAN verion 0.82 !!!!!
kados [Sat, 4 Mar 2006 06:33:54 +0000 (06:33 +0000)]
Fixes isbn search in opac -- it seems that '-' is stripped out in
marc_word table so if a query includes the - it failed previously.
This commit ensure that - is stripped out of the query before submitting.
kados [Sat, 4 Mar 2006 06:05:13 +0000 (06:05 +0000)]
New syspref: AnonSuggestions to allow an anonymous patron to make a
suggestion (requested by NPL). To enable, set to the borrowernumber
of the anonymous patron (must be created).
kados [Sat, 4 Mar 2006 03:24:51 +0000 (03:24 +0000)]
IMPORTANT: I had Associates tag and Dev Key confused ... now they
are named properly ... if you had it working before, now you must
swap them ... sorry :-)
kados [Wed, 1 Mar 2006 21:44:16 +0000 (21:44 +0000)]
Adds 'opacreadinghistory' syspref for turning this on/off for libraries
who are scared of their government (ie, in countries where there a
patriot act) :-)
kados [Wed, 1 Mar 2006 14:36:31 +0000 (14:36 +0000)]
This seems to be a fully working version -- it supports repeated tags and
subfields, should preserve any order specified in the template, and also
preserves ALL indicators (not just one per tag set as with the previous
hash of indicators).
tipaul [Mon, 27 Feb 2006 13:54:50 +0000 (13:54 +0000)]
adding Amazon.com support for css templates as well as NPL
Note for joshua & npl templates : i've added a amazonisbn in the $dat hash, and reintroduced the dashes in {isbn} adapt npl templates as well, or you won't get amazon.com cover anymore
kados [Sat, 25 Feb 2006 02:05:59 +0000 (02:05 +0000)]
MAJOR BUGFIX: previously, when adding a tag, subfield order always started
with 'a' because that was hardcoded into the script. Now, order is governed
by the first defined subfield in the framework.
kados [Sat, 25 Feb 2006 00:33:59 +0000 (00:33 +0000)]
VERY IMPORTANT BUGFIX: before this, if a blank MARC tag or subfield
was submitted, it would be saved. This fix checks to see if it is
blank and if not allows it to be saved.
kados [Thu, 23 Feb 2006 03:19:48 +0000 (03:19 +0000)]
Adds the 'sortbynonfiling' systempref. With this enabled, Koha will
correctly sort title searches according to the nonfiling characters
in the MARC records.
kados [Thu, 23 Feb 2006 03:16:37 +0000 (03:16 +0000)]
Adds the option to sort titles by nonfilingchars in MARC records. Note
that for systems with a lot of records (more than 100,000) this will be
a significant performance hit. Also note that if you don't have your
syspref for sortbynonfiling chars set the code will not execute.
kados [Tue, 21 Feb 2006 20:38:42 +0000 (20:38 +0000)]
Take Note: I think this fixes a bug caused when independentbranches is
turned ON and the patron is not logged in ... but I could be wrong, if
you know how this should work, please take a look. This is in response
to a bug report I recieved that when independentbranches was on,
opac-suggestions.pl was 500ing.