[Koha-patches] [PATCH] Bug 1440: Show a list of holidays

2009-05-11 Thread Garry Collum
This patch adds displays for holidays. A table for each type of holiday. It could be improved by adding a link for a holiday listed in one of the tables to the edit panel. The date formats could also be changed. --- .../prog/en/modules/tools/holidays.tmpl| 114

[Koha-patches] [PATCH] Bug 1907 partial fix: prevent warnings on undefined params.

2009-05-11 Thread Chris Catalfo
This patch adds default blank values for a couple of params the script might receive which were producing warns in the error log. Also wraps GetMarcBiblio in an eval. --- tools/export.pl | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tools/export.pl b/tools/exp

[Koha-patches] [PATCH] Script to check for corruption of marcxml, and optionally to attempt fix.

2009-05-11 Thread Joe Atzberger
When marcxml cannot be parsed into a MARC::Record object, the biblio is undisplayable and it obviously breaks many features in Koha. This script can test to parse every marcxml, and alert on failures. Optionally, the marcxml can be replaced from the marc field. See extensive perldoc for details.

Re: [Koha-patches] [PATCH] excised hard-coded reference to HLT

2009-05-11 Thread Galen Charlton
Hi, On Mon, May 11, 2009 at 5:37 PM, Michael Hafen wrote: > Looks to me like a good candidate for a custom Sys. Pref.  Something > like > > if ( C4::Context->preference("PatronCatIgnoreError") ) { >        if ( $borrower->{'categorycode'} eq > C4::Context->preference("PatronCatIgnoreError") ) {

Re: [Koha-patches] [PATCH] excised hard-coded reference to HLT

2009-05-11 Thread Michael Hafen
Looks to me like a good candidate for a custom Sys. Pref. Something like if ( C4::Context->preference("PatronCatIgnoreError") ) { if ( $borrower->{'categorycode'} eq C4::Context->preference("PatronCatIgnoreError") ) { return ( {}, \%needsconfirmation ); } } Good luck

Re: [Koha-patches] [PATCH] fix references to $session in circ/circulation.pl

2009-05-11 Thread Michael Hafen
Ah, good catch there Galen. I'd done that in another patch, and missed it for the sticky due date in session patch. Thanks. On Mon, 2009-05-11 at 16:20 -0500, Galen Charlton wrote: > Now that sticky due date processing uses the session, > script will always need it. > --- > circ/circulation.pl

[Koha-patches] [PATCH] excised hard-coded reference to HLT

2009-05-11 Thread Galen Charlton
Note to Chris Cormack: I suspect the current ability to override most circulation conditions is sufficient, but if HLT still needs to establish a patron category that can ignore issuingimpossible limitations, needs to be done in a more flexible way. --- C4/Circulation.pm |6 -- 1 files cha

[Koha-patches] [PATCH] fix references to $session in circ/circulation.pl

2009-05-11 Thread Galen Charlton
Now that sticky due date processing uses the session, script will always need it. --- circ/circulation.pl |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 41ad694..49dc338 100755 --- a/circ/circulation.pl +++ b/circ/ci

[Koha-patches] [PATCH] fix to CanBookBeIssued()

2009-05-11 Thread Galen Charlton
Bail out if item does not exist - otherwise subsequent checks can fail for lack of an item branchcode. --- C4/Circulation.pm | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 1c8052b..e6389ee 100644 --- a/C4/Circulation.pm

[Koha-patches] [PATCH] Make stickyduedate remember for session a little more permanent

2009-05-11 Thread Michael Hafen
Store the stickyduedate in the session. So "Remember for Session" means for session rather than "while on this page". Includes some updates since initial submission of patch. --- circ/circulation.pl | 18 -- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/circ/c

[Koha-patches] [PATCH] bug 988 followup - tweak wording

2009-05-11 Thread Galen Charlton
--- .../prog/en/modules/circ/circulation.tmpl |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl index 03438c3..b93488c 100644 --- a/koh

Re: [Koha-patches] [PATCH] add windows quote to ignored chars

2009-05-11 Thread Wagner, Jane
This reminds me of a problem I've seen, but haven't yet researched. You can't search for a title with a colon in it (e.g., 3:10 to Yuma) or, I think, a question mark. If you remove the colon or question mark, you can search them. Would the file modified in this patch be where those fixes woul

[Koha-patches] [PATCH] bug 2872: fix width of columns in branch_transfer_limits (DB rev 031)

2009-05-11 Thread Galen Charlton
change itemtype, tobranch, and frombranch from varchar(4) to varchar(10) --- installer/data/mysql/kohastructure.sql |6 +++--- installer/data/mysql/updatedatabase.pl | 10 ++ kohaversion.pl |2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --g

[Koha-patches] [PATCH] tweak removal of whitespace from barcodes

2009-05-11 Thread Galen Charlton
Per suggestion from Joe Atzberger, match on \s instead of [ \t] for stripping leading and trailing whitespace from barcode lookups. --- circ/circulation.pl |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 1c6fb61..982cc72 100

[Koha-patches] [PATCH] =?utf-8?q?Adding=20some=20null=20words=20and=20mappings=20for=20=C5=92=20=C5=93

2009-05-11 Thread Galen Charlton
From: Henri-Damien LAURENT Signed-off-by: Galen Charlton --- etc/zebradb/etc/word-phrase-utf.chr | 36 ++- 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/etc/zebradb/etc/word-phrase-utf.chr b/etc/zebradb/etc/word-phrase-utf.chr index a6fc582..

[Koha-patches] [PATCH] change DOS newlines to Unix newlines in word-phrase-utf.chr

2009-05-11 Thread Galen Charlton
--- etc/zebradb/etc/word-phrase-utf.chr | 568 +- 1 files changed, 284 insertions(+), 284 deletions(-) diff --git a/etc/zebradb/etc/word-phrase-utf.chr b/etc/zebradb/etc/word-phrase-utf.chr index 465bdf0..a896f5e 100644 --- a/etc/zebradb/etc/word-phrase-utf.chr +

Re: [Koha-patches] [PATCH] [HEAD] (bug #3170) check if mandatory fields are not empty

2009-05-11 Thread Galen Charlton
Hi Nahuel, On Thu, Apr 30, 2009 at 9:09 AM, Nahuel ANGELINETTI wrote: > This patch make authority and biblio add/edit to check that at least one > subfield of mandatory fields are filled-in. I discovered the following problems during testing - please work on this and resubmit: [1] The patch ha

[Koha-patches] [PATCH] add windows quote to ignored chars

2009-05-11 Thread Nahuel ANGELINETTI
This patch add the CP1252 "quote" (’) in ignored chars in zebra configuration. --- etc/zebradb/etc/word-phrase-utf.chr |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/etc/zebradb/etc/word-phrase-utf.chr b/etc/zebradb/etc/word-phrase-utf.chr index 465bdf0..7b98b28 100644

Re: [Koha-patches] [PATCH] [replaceprevious](bug #3196) fix itemlost.pl

2009-05-11 Thread Galen Charlton
Hi, On Thu, May 7, 2009 at 5:48 AM, Nahuel ANGELINETTI wrote: > -        FROM   items, biblio, authorised_values > +        FROM   items > +            LEFT JOIN biblio ON (items.biblionumber = biblio.biblionumber) > +            LEFT JOIN biblioitems ON (items.biblionumber = > biblioitems.bibli

[Koha-patches] [PATCH 2/2] Bug 3213 - Add UNIMARC XSLT stylesheet

2009-05-11 Thread Frédéric Demians
With those stylesheets result and detail pages render better UNIMARC biblio record than normal views. But works still have to be done in order to reach UNIMARC-ISBD compliant display. --- .../prog/en/xslt/UNIMARCslim2OPACDetail.xsl| 618 .../prog/en/xslt/UNIMARCslim2O

[Koha-patches] [PATCH 1/2] Bug 3213 - UNIMARC/MARC21 selection

2009-05-11 Thread Frédéric Demians
Modify how XSLT stylesheet are choosen depending on 'marcflavour' syspref. DOCUMENTATION: XSLTResultsDisplay and XSLTDetailsDisplay sysprefs aren't MARC21-only anymore. --- C4/Search.pm|4 ++-- C4/XSLT.pm |9 ++--- opac/opac-detail.pl |4 ++-- 3 files changed, 10

[Koha-patches] [PATCH][3.2] (bug #3198) fix serial receive with autobarcode

2009-05-11 Thread Nahuel ANGELINETTI
this add an arg to GetMarcFromKohaField, else it will always return (0,0). --- serials/serials-edit.pl |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl index 1f58a3e..9994e44 100755 --- a/serials/serials-edit.pl +++ b/ser