[Koha-patches] [PATCH] Bug Fixing bug 2410 : Cant Coerce 0 into hash

2008-07-28 Thread Henri-Damien LAURENT
Was a problem of Amazon Similar Items --- catalogue/detail.pl | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index c7f0afd..9d195b3 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -112,9 +112,9 @@ my

[Koha-patches] [PATCH] Bug Fix 2410 : Continue.

2008-07-28 Thread Henri-Damien LAURENT
In fact, the previous patch worked when no similar items were shown. But It failed when some were found. This is fixing the problem : - xISBN returned only a loop containing only biblionumbers and not hashs as expected by template - using $value-[$index] rather than [EMAIL PROTECTED] which also

[Koha-patches] [PATCH] Bug fix : 2361 Location was lost on subscription update

2008-08-06 Thread Henri-Damien LAURENT
Location is now defaulted to the location of the librarian When updating subscription, subscription branchcode is taken into account. --- serials/subscription-add.pl | 101 ++- 1 files changed, 51 insertions(+), 50 deletions(-) diff --git

[Koha-patches] [PATCH] Bug Fixing 2485

2008-08-07 Thread Henri-Damien LAURENT
Using Preference C4::Context-preference('item_level_itype') in order to determine itemtype information before passing it to statistics. --- C4/Circulation.pm | 73 +++- 1 files changed, 43 insertions(+), 30 deletions(-) diff --git

[Koha-patches] [PATCH] Fixing 2516 : Ordering names with multiple keys

2008-08-22 Thread Henri-Damien LAURENT
--- C4/Members.pm |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Members.pm b/C4/Members.pm index 7df9424..6a34c0e 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -164,7 +164,7 @@ sub SearchMember { my $count; my @data; my @bind = (); - +

[Koha-patches] [PATCH] bug fix : 2805

2008-11-18 Thread Henri-Damien LAURENT
deleting die on lack of user/password in config file. --- C4/Auth_with_ldap.pm |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm index e6ed181..c286275 100644 --- a/C4/Auth_with_ldap.pm +++ b/C4/Auth_with_ldap.pm @@ -52,8 +52,8

[Koha-patches] [PATCH] Sorting branches by name whereever it is required

2008-11-18 Thread Henri-Damien LAURENT
--- C4/Auth.pm |2 +- acqui/neworderempty.pl |2 +- acqui/orderreceive.pl |2 +- admin/aqbookfund.pl|2 +- admin/aqbudget.pl |2 +-

[Koha-patches] [PATCH] Sorting branches by name whereever it is required

2008-11-19 Thread Henri-Damien LAURENT
--- C4/Auth.pm |2 +- acqui/neworderempty.pl |2 +- acqui/orderreceive.pl |2 +- admin/aqbookfund.pl|2 +- admin/aqbudget.pl |2 +-

[Koha-patches] [PATCH] Bug Fixing : Auth finder would not take values from biblio when editing a value.

2008-11-19 Thread Henri-Damien LAURENT
From: Henri-Damien LAURENT [EMAIL PROTECTED] Reporting mainmainstring value into auth_finder --- authorities/auth_finder.pl |2 ++ cataloguing/addbiblio.pl |4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/authorities/auth_finder.pl b/authorities/auth_finder.pl

[Koha-patches] [PATCH] Using openAuth function for authorities Searching

2008-11-19 Thread Henri-Damien LAURENT
Adding two js functions : getSubfieldcode(tagsubfieldid) returns the subfieldcode from tagsubfieldid (tag_XXX_subfield_Y__ returns Y) getTagInputnameFilter(tagsubfieldid) (tag_XXX_subfield_Y__ returns tag_XXX_subfield_._) I think those two functions are much useful when

[Koha-patches] [PATCH] Restoring startsby search on authorities.

2008-11-19 Thread Henri-Damien LAURENT
--- C4/AuthoritiesMarc.pm|2 +- etc/zebradb/etc/default.idx |2 +- etc/zebradb/marc_defs/unimarc/biblios/record.abs |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm

[Koha-patches] [PATCH] Minor Feature : username when cataloguing

2008-11-19 Thread Henri-Damien LAURENT
biblios can now be added librarian name automatically when cataloguing. add user in the Default value of the biblio --- cataloguing/addbiblio.pl |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index 0773f2e..aa71a91

[Koha-patches] [PATCH] Using Warns would cause problems with NoZebra

2008-11-19 Thread Henri-Damien LAURENT
--- C4/Biblio.pm | 20 +++- C4/Items.pm |2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index e66f58e..093da14 100755 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -1624,7 +1624,8 @@ sub TransformMarcToKoha { my ( $dbh,

[Koha-patches] [PATCH] Bug Fix : When Patron had overdues, it was possible to checkout

2008-11-19 Thread Henri-Damien LAURENT
--- .../prog/en/modules/circ/circulation.tmpl |3 +++ 1 files changed, 3 insertions(+), 0 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 6e9fd7f..e8eccc3 100644 ---

[Koha-patches] [PATCH] Bug Fix : Adding Some error proofs to HaveSubscriptionExpired

2008-11-19 Thread Henri-Damien LAURENT
Date::Calc::CalcDays was throwing error 500 when one serial had an undefined date. --- C4/Serials.pm |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 4ca0312..ad12dda 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -1797,8 +1797,10

[Koha-patches] [PATCH] Bug Fix : 2686

2008-11-19 Thread Henri-Damien LAURENT
--- .../opac-tmpl/prog/en/modules/opac-shelves.tmpl| 37 +++- 1 files changed, 28 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl index 7e0db8e..4873e32 100644 ---

[Koha-patches] [PATCH] Adding some Error proof on GetAuthority

2008-11-19 Thread Henri-Damien LAURENT
return undef if there is a problem --- C4/AuthoritiesMarc.pm |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index deda42a..17857f7 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -679,8 +679,9 @@ sub

[Koha-patches] [PATCH] Merging authorities caused an encoding problem in biblios

2008-11-19 Thread Henri-Damien LAURENT
MARC::File::USMARC::decode is not aware of encoding as MARC::File::XML is So it caused a problem when decoding information and updating biblios. Now uses MARC::File::XML Encoding is OK --- C4/AuthoritiesMarc.pm | 28 ++-- 1 files changed, 18 insertions(+), 10

[Koha-patches] [PATCH] Bug Fix : 2494

2008-11-19 Thread Henri-Damien LAURENT
Adds some rewriting bug fix for merging AddAuthority had some problem with updating existing data. ModAuthority adds a new Syspref called MergeAuthoritiesOnUpdate which is used to launch or disable biblios update when updating an authority --- C4/AuthoritiesMarc.pm | 68

[Koha-patches] [PATCH] Bug 2790 no UNIMARC search on avail items [1/2]

2008-11-19 Thread Henri-Damien LAURENT
Changing record.abs file to add the management of acquisition date, modification date and lost --- etc/zebradb/marc_defs/unimarc/biblios/record.abs |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/etc/zebradb/marc_defs/unimarc/biblios/record.abs

[Koha-patches] [PATCH] Bug Fixing : export would export no biblios when

2008-11-19 Thread Henri-Damien LAURENT
IndependantBranches set and user is kohaadmin I think we can escape defaulting to the userenv Branch with restricting the list to the user branch --- tools/export.pl |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/export.pl b/tools/export.pl index

[Koha-patches] [PATCH] problem saving authority with ? and other special characters

2008-11-19 Thread Henri-Damien LAURENT
Filtering those signs in order not to have them interpreted. --- C4/AuthoritiesMarc.pm |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 6080c39..638cc52 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@

[Koha-patches] [PATCH] Update MARC to add 099$c and 099$d fields, with :

2008-11-19 Thread Henri-Damien LAURENT
From: Nahuel Angelinetti [EMAIL PROTECTED] This allow the acquisition date sorting in UNIMARC. --- misc/maintenance/sync_bib_with_marc_biblio.pl | 64 + 1 files changed, 64 insertions(+), 0 deletions(-) create mode 100644 misc/maintenance/sync_bib_with_marc_biblio.pl

[Koha-patches] [PATCH] Improving UNIMARC(A) compliance

2008-11-19 Thread Henri-Damien LAURENT
Adding some fields to index. Adding also some indexes in order to be able to query specific fields. --- .../marc_defs/unimarc/authorities/record.abs | 62 1 files changed, 50 insertions(+), 12 deletions(-) diff --git

[Koha-patches] [PATCH] fix for bug 2447: yuipath variable not getting passed to help pages

2008-11-19 Thread Henri-Damien LAURENT
From: Jesse Weaver [EMAIL PROTECTED] This updates help.pl to pass the yuipath variable correctly. It also adds some script references to help-top.inc to avoid other js errors. --- help.pl|2 +- .../intranet-tmpl/prog/en/includes/help-top.inc|

[Koha-patches] [PATCH] Get back boolean button on OPAC Advanced Search page

2008-11-19 Thread Henri-Damien LAURENT
From: Fr??d??ric DEMIANS [EMAIL PROTECTED] With this patch, on OPAC Advanced Search page, when More Options is selected, a boolean combo box appears in front of fields combo box. --- .../opac-tmpl/prog/en/modules/opac-advsearch.tmpl |7 +++ 1 files changed, 7 insertions(+), 0

[Koha-patches] [PATCH] problem saving authority with ? and other special characters

2008-11-19 Thread Henri-Damien LAURENT
Filtering those signs in order not to have them interpreted. --- C4/AuthoritiesMarc.pm |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 6080c39..638cc52 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@

[Koha-patches] [PATCH] problem saving authority with ? and other special characters [resend]

2008-11-19 Thread Henri-Damien LAURENT
Filtering those signs in order not to have them interpreted. Removing some warns --- C4/AuthoritiesMarc.pm |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 6080c39..7751a10 100644 --- a/C4/AuthoritiesMarc.pm +++

[Koha-patches] [PATCH] Update MARC to add 099$c and 099$d fields, with :

2008-11-19 Thread Henri-Damien LAURENT
This allow the acquisition date sorting in UNIMARC. --- misc/maintenance/sync_bib_with_marc_biblio.pl | 69 + 1 files changed, 69 insertions(+), 0 deletions(-) create mode 100644 misc/maintenance/sync_bib_with_marc_biblio.pl diff --git

[Koha-patches] [PATCH] Update MARC to add 099$c and 099$d fields, with :

2008-11-21 Thread Henri-Damien LAURENT
This allow the acquisition date sorting in UNIMARC. --- .../UNIMARC_sync_date_created_with_marc_biblio.pl | 73 1 files changed, 73 insertions(+), 0 deletions(-) create mode 100644 misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl diff --git

[Koha-patches] [PATCH] [REPLACE previous] Removing map calls in void context

2008-11-22 Thread Henri-Damien LAURENT
Thanks Joe. --- C4/AuthoritiesMarc.pm | 10 +++--- C4/Serials.pm |4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 7751a10..089ce20 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -797,7

Re: [Koha-patches] [Koha-devel] State of the debian packaging

2008-12-07 Thread Henri-Damien LAURENT
Vincent Danjean a écrit : Frederic Demians wrote: And if we know where the XML parser is called (directly or indirectly), we can set in the koha file(s) the global variable $XML::SAX::ParserPackage = XML::LibXML::SAX; in order to force the good XML parser without

[Koha-patches] [PATCH] Followup previous patch bug 2955 :

2009-02-11 Thread Henri-Damien LAURENT
Some calls to GetMarcFromKohaField would not tell which framework to use. Signed-off-by: Henri-Damien LAURENT henridamien.laur...@biblibre.com --- C4/Biblio.pm|4 ++-- C4/Search.pm|8 cataloguing/addbiblio.pl

[Koha-patches] [PATCH] Installer break utf8 for DBD::mysql

2009-07-23 Thread Henri-Damien LAURENT
--- C4/Installer.pm |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/C4/Installer.pm b/C4/Installer.pm index caeb2ff..2e1fe1a 100644 --- a/C4/Installer.pm +++ b/C4/Installer.pm @@ -79,6 +79,8 @@ sub new { $self-{'user'},

[Koha-patches] [PATCH] _remove_stopwords in C4::Search had some issues

2009-07-23 Thread Henri-Damien LAURENT
For some reason, it would not really do an exact match on stopwords but would also prune some other part of words --- C4/Search.pm | 23 ++- 1 files changed, 10 insertions(+), 13 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index 467e6a1..ee54d56 100644 ---

[Koha-patches] [PATCH] Amending SetUNIMARCencoding Adding SetUTF8Flag

2009-07-23 Thread Henri-Damien LAURENT
SetUTF8Flag sets the PERL flag for utf8 data : this is really helpful to deal with diacritics. If you donot use that, you may end up when you append field or insert field to a marc record having all data you previously had double encoded. See : http://rt.cpan.org/Ticket/Display.html?id=48120

[Koha-patches] [PATCH] Bug Fixing : encoding from xml records was broke For search

2009-07-24 Thread Henri-Damien LAURENT
results have to be checked for correct encoding new_from_xml is good, but with utf8 and marcflavour as parameters. --- C4/Search.pm |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index ee54d56..9e67103 100644 --- a/C4/Search.pm +++

[Koha-patches] [PATCH] Translating unimarc_leader plugin in english

2009-08-13 Thread Henri-Damien LAURENT
--- .../cataloguing/value_builder/unimarc_leader.tmpl | 177 ++-- 1 files changed, 89 insertions(+), 88 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_leader.tmpl

[Koha-patches] [PATCH] Bug Fixing 3542 : searching for authority in cataloguing

2009-08-20 Thread Henri-Damien LAURENT
There was a problem in the query building and PERL is quite picky with empty data in arrays so setting empty elements to undef --- C4/AuthoritiesMarc.pm | 30 authorities/auth_finder.pl |2 +-

[Koha-patches] [PATCH] UpdateDataBase for smart-rules modification

2009-08-24 Thread Henri-Damien LAURENT
--- ...-permit_to_define_fine_days_in_issuing_rules.pl | 22 1 files changed, 22 insertions(+), 0 deletions(-) create mode 100755 installer/data/mysql/atomicupdate/0001-bug_2929-permit_to_define_fine_days_in_issuing_rules.pl diff --git

[Koha-patches] [PATCH] Adding management for multiple $9 in MARCSubjects

2009-08-24 Thread Henri-Damien LAURENT
--- C4/Biblio.pm | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 569e09e..9254276 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -1272,10 +1272,10 @@ sub GetMarcSubjects { my $counter = 0; my @link_loop;

[Koha-patches] [PATCH] UpdateDataBase for smart-rules modification

2009-08-24 Thread Henri-Damien LAURENT
Members.pm : Adding IsMemberBlocked Circulation.pm : Using IsMemberBlocked in order to implement finedays --- C4/Circulation.pm | 14 +++- C4/Members.pm | 67

[Koha-patches] [PATCH] Adding Some new functions

2009-08-24 Thread Henri-Damien LAURENT
--- C4/Items.pm | 153 --- 1 files changed, 136 insertions(+), 17 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index 3f550ef..4d53d91 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -64,6 +64,9 @@ BEGIN { get_itemnumbers_of

[Koha-patches] [PATCH] Adding RIS and bibtex export

2009-08-24 Thread Henri-Damien LAURENT
--- C4/Record.pm| 88 + C4/Ris.pm | 964 +++ opac/opac-export.pl |9 +- 3 files changed, 1060 insertions(+), 1 deletions(-) create mode 100644 C4/Ris.pm diff --git a/C4/Record.pm b/C4/Record.pm index 2be4751..2c96756

[Koha-patches] [PATCH] Adding Batch edit for items

2009-08-24 Thread Henri-Damien LAURENT
--- .../prog/en/modules/tools/batchMod.tmpl| 151 .../prog/en/modules/tools/tools-home.tmpl | 10 + tools/batchMod.pl | 181 3 files changed, 342 insertions(+), 0 deletions(-) create mode 100644

[Koha-patches] [PATCH] Adding Opac-SearchHistory feature

2009-08-24 Thread Henri-Damien LAURENT
Enables ppl to store their search history and delete the whole history Adding Storable required by Opac-Search-History --- C4/Auth.pm | 65 + C4/Search.pm | 22 +++ Makefile.PL

[Koha-patches] [PATCH] Adding OpacSearchHistory system preference

2009-08-24 Thread Henri-Damien LAURENT
--- installer/data/mysql/en/mandatory/sysprefs.sql |1 + .../1-Obligatoire/unimarc_standard_systemprefs.sql |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/installer/data/mysql/en/mandatory/sysprefs.sql b/installer/data/mysql/en/mandatory/sysprefs.sql index

[Koha-patches] [PATCH] Smart Rules enhancements

2009-08-24 Thread Henri-Damien LAURENT
Adding finedays and reservesallowed and renewalsallowed management in smart rules Adding Clone Rules Adding CanBookBeReserved and CanItemBeReserved in C4::Reserves Manage Reservesallowed in opac and staff interface Manage renewalsallowed in C4/Circulation.pm Update Database follow ---

[Koha-patches] [PATCH] Adding RIS And BibTex Export Followup

2009-08-24 Thread Henri-Damien LAURENT
--- .../opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl |7 +-- .../opac-tmpl/prog/en/modules/opac-detail.tmpl |7 +-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl

[Koha-patches] [PATCH] Delete All items in one click

2009-08-24 Thread Henri-Damien LAURENT
--- cataloguing/additem.pl | 35 +-- .../intranet-tmpl/prog/en/includes/cat-toolbar.inc | 12 ++- 2 files changed, 28 insertions(+), 19 deletions(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index e25bb44..44ec8ab 100755 ---

[Koha-patches] [PATCH] Adding notices.pl which enables staff to see what notices have been sent to user

2009-08-24 Thread Henri-Damien LAURENT
--- .../intranet-tmpl/prog/en/includes/circ-menu.inc |7 +- .../prog/en/modules/members/notices.tmpl | 62 ++ members/notices.pl | 66 3 files changed, 132 insertions(+), 3 deletions(-) create mode 100644

[Koha-patches] [PATCH] Adding Merge of two biblios from a virtualshelf

2009-08-25 Thread Henri-Damien LAURENT
--- .../includes/virtualshelves/merge/selection.tmpl | 18 +++ .../prog/en/modules/virtualshelves/merge.tmpl | 15 ++ .../prog/en/modules/virtualshelves/shelves.tmpl| 10 ++- virtualshelves/addbybiblionumber.pl| 47 ++- virtualshelves/merge.pl

[Koha-patches] [PATCH] C4::Output adding getlanguagecookie + other enhancements

2009-08-25 Thread Henri-Damien LAURENT
required for language stemming management Adding also some filters for NSB NSE characters Now, get_template can be used even when query-cookie not set --- C4/Output.pm | 23 --- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/C4/Output.pm b/C4/Output.pm index

[Koha-patches] [PATCH] C4::Search :Enhancements

2009-08-25 Thread Henri-Damien LAURENT
Stemming is now available for more languages Adding also getDistinctValues which gets distinct values for a zebra index or for a Mysql field --- C4/Search.pm| 66 +- catalogue/search.pl |3 +- opac/opac-search.pl |3 +- 3 files

[Koha-patches] [PATCH] Adding enddate to Subscriptions

2009-08-25 Thread Henri-Damien LAURENT
--- C4/Serials.pm | 222 +++- .../mysql/atomicupdate/subscription_add_enddate.pl |7 + .../prog/en/modules/serials/subscription-add.tmpl | 22 ++ .../en/modules/serials/subscription-detail.tmpl| 24 ++- serials/subscription-add.pl

[Koha-patches] [PATCH] Bug Fixing: removing HoverIntent from basket.js

2009-08-25 Thread Henri-Damien LAURENT
--- koha-tmpl/opac-tmpl/prog/en/js/basket.js |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/js/basket.js b/koha-tmpl/opac-tmpl/prog/en/js/basket.js index 958dab3..736fdc9 100644 --- a/koha-tmpl/opac-tmpl/prog/en/js/basket.js +++

[Koha-patches] [PATCH] tools/letter.tmpl

2009-08-25 Thread Henri-Damien LAURENT
Improving sustainability : removing duplicate strings --- .../prog/en/modules/tools/letter.tmpl | 54 +--- 1 files changed, 2 insertions(+), 52 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tmpl

[Koha-patches] [PATCH] This is a calatoguing plugin based on auth_finder but specific to one of our customers.

2009-08-25 Thread Henri-Damien LAURENT
From: Jean-André Santoni jeanandre.sant...@biblibre.com --- cataloguing/value_builder/unimarc_field_686a.pl| 92 .../value_builder/unimarc_field_686a.tmpl | 77 2 files changed, 169 insertions(+), 0 deletions(-) create mode 100644

[Koha-patches] [PATCH] [followup](bug #3505) order collections by alphabetical order

2009-08-25 Thread Henri-Damien LAURENT
From: Nahuel ANGELINETTI nahuel.angeline...@biblibre.com --- cataloguing/value_builder/unimarc_field_225a.pl |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cataloguing/value_builder/unimarc_field_225a.pl b/cataloguing/value_builder/unimarc_field_225a.pl index

[Koha-patches] [PATCH] (bug #3546) fix issues_stats

2009-08-25 Thread Henri-Damien LAURENT
From: Nahuel ANGELINETTI nahuel.angeline...@biblibre.com This fix the order of columns. --- reports/issues_stats.pl |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reports/issues_stats.pl b/reports/issues_stats.pl index cd00424..92cc10d 100755 ---

[Koha-patches] [PATCH] (bug #3512) fix acquisition reports and group by

2009-08-25 Thread Henri-Damien LAURENT
From: Nahuel ANGELINETTI nahuel.angeline...@biblibre.com This fix, just change a grep value that make different way to calculate the table depending on the choosen column and line. --- reports/acquisitions_stats.pl |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[Koha-patches] [PATCH] Using warn instead of die

2009-08-25 Thread Henri-Damien LAURENT
--- C4/Boolean.pm |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Boolean.pm b/C4/Boolean.pm index 934a64f..8d40312 100644 --- a/C4/Boolean.pm +++ b/C4/Boolean.pm @@ -94,14 +94,14 @@ sub true_p ($) { my($x) = @_; my $it; if (!defined $x || ref($x) ne

[Koha-patches] [PATCH] Adding Authorities list

2009-08-25 Thread Henri-Damien LAURENT
--- authorities/authorities-list.pl | 26 ++ 1 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 authorities/authorities-list.pl diff --git a/authorities/authorities-list.pl b/authorities/authorities-list.pl new file mode 100644 index 000..4359489

[Koha-patches] [PATCH] Bug Fixing : Bullet Proofing

2009-08-25 Thread Henri-Damien LAURENT
Some functions lack testing befor using empty references --- opac/opac-main.pl |2 +- opac/opac-user.pl |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/opac-main.pl b/opac/opac-main.pl index 99f672c..7535d67 100755 --- a/opac/opac-main.pl +++ b/opac/opac-main.pl

[Koha-patches] [PATCH] honor the DESTDIR environement variable when set

2009-08-25 Thread Henri-Damien LAURENT
From: Marc Chantreux marc.chantr...@biblibre.com for exemple: when you use install_misc/environment_Makefile.PL DESTDIR=$HOME by default but koha is installed in $HOME/koha-dev that is not expected! --- Makefile.PL |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git

[Koha-patches] [PATCH] Bug Fixing : export would export no biblios when

2009-08-25 Thread Henri-Damien LAURENT
IndependantBranches set and user is kohaadmin I think we can escape defaulting to the userenv Branch with restricting the list to the user branch --- tools/export.pl |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/export.pl b/tools/export.pl index

[Koha-patches] [PATCH] Adding links to Attach Items (moveitem.pl) and to batchMod.pl

2009-08-25 Thread Henri-Damien LAURENT
--- .../intranet-tmpl/prog/en/includes/cat-toolbar.inc |1 + .../intranet-tmpl/prog/en/includes/tools-menu.inc |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc

[Koha-patches] [PATCH] Followup Adding links to tools

2009-08-26 Thread Henri-Damien LAURENT
--- .../intranet-tmpl/prog/en/includes/cat-toolbar.inc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index fa4d9ef..a9da9f8 100644 ---

[Koha-patches] [PATCH] Adding Bullet Proof to opac-user.pl [followup]

2009-08-26 Thread Henri-Damien LAURENT
Fixing things a more proper way. --- opac/opac-user.pl | 109 ++--- 1 files changed, 54 insertions(+), 55 deletions(-) diff --git a/opac/opac-user.pl b/opac/opac-user.pl index f09350b..6e38f39 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl

[Koha-patches] [biblibre-integration 02/19] Followup Adding links to tools

2009-08-28 Thread Henri-Damien LAURENT
--- .../intranet-tmpl/prog/en/includes/cat-toolbar.inc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc index fa4d9ef..a9da9f8 100644 ---

[Koha-patches] [biblibre-integration 05/19] Bug fixing batchmod.pl

2009-08-28 Thread Henri-Damien LAURENT
--- .../prog/en/modules/tools/batchMod.tmpl|6 +++--- tools/batchMod.pl |4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tmpl

[Koha-patches] [biblibre-integration 06/19] followup : merge button on virtualshelves

2009-08-28 Thread Henri-Damien LAURENT
--- .../prog/en/modules/virtualshelves/shelves.tmpl|4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl index 5d037a2..d4699e3

[Koha-patches] [biblibre-integration 08/19] Adding Selenium tests for Members

2009-08-28 Thread Henri-Damien LAURENT
--- selenium/KohaTests| 16 +++ selenium/Members/AddMember| 72 + selenium/Members/DeletMember | 32 ++ selenium/Members/SearchMember | 67 ++

[Koha-patches] [biblibre-integration 09/19] [3.0.x](bug #3563) This replaces the library name by the branchname attached to the subscription, and hide streetaddesses in serials routing

2009-08-28 Thread Henri-Damien LAURENT
From: Jean-André Santoni jeanandre.sant...@biblibre.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. --- .../prog/en/modules/serials/member-search.tmpl

[Koha-patches] [biblibre-integration 07/19] Bug Fixing : GetMarcItem

2009-08-28 Thread Henri-Damien LAURENT
Adding Item2Marc Using itemtag in order to add subfields to the correct field --- C4/Items.pm | 18 -- 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index 4d53d91..e8e0cef 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -46,6 +46,7 @@

[Koha-patches] [biblibre-integration 10/19] (bug #3550) use GetRecordValue to retrieve subtitle

2009-08-28 Thread Henri-Damien LAURENT
From: Nahuel ANGELINETTI nahuel.angeline...@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

[Koha-patches] [biblibre-integration 12/19] (bug #3553) do not allow users to create code-less frameworks

2009-08-28 Thread Henri-Damien LAURENT
From: Nahuel ANGELINETTI nahuel.angeline...@biblibre.com This patch, disallow the users to create frameworks without frameworkcode. It adds some javascripts checks, and some perls checks(for non-javascript users). --- admin/biblio_framework.pl | 17 ++---

[Koha-patches] [biblibre-integration 13/19] (bug #3554) use javascript to print records

2009-08-28 Thread Henri-Damien LAURENT
From: Nahuel ANGELINETTI nahuel.angeline...@biblibre.com This patch, delete opac-detailprint.pl to print records, it only use CSS and javascript print() function. --- .../opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl |4 +- .../opac-tmpl/prog/en/modules/opac-detail.tmpl |4 +-

[Koha-patches] [biblibre-integration 14/19] (bug #3557) fix bor_issues_top

2009-08-28 Thread Henri-Damien LAURENT
From: Nahuel ANGELINETTI nahuel.angeline...@biblibre.com Just add the condition where column is None. --- reports/bor_issues_top.pl | 22 -- 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/reports/bor_issues_top.pl b/reports/bor_issues_top.pl index

[Koha-patches] [biblibre-integration 16/19] [3.0.x](bug #3552) This mark mandatory fields with a red asterisk

2009-08-28 Thread Henri-Damien LAURENT
From: Jean-André Santoni jeanandre.sant...@biblibre.com Many librarian ask for a way to know if a field is mandatory before validation. --- koha-tmpl/intranet-tmpl/prog/en/css/addbiblio.css |4 .../prog/en/modules/cataloguing/addbiblio.tmpl |1 + 2 files changed, 5

[Koha-patches] [biblibre-integration 17/19] [3.0.x](bug #3555) This sets the default branch to the logged user branch when IndependantBranches is active

2009-08-28 Thread Henri-Damien LAURENT
From: Jean-André Santoni jeanandre.sant...@biblibre.com In the advanced search form, when IndependantBranches is activated, the default branch should be set to the logged user branch. --- catalogue/search.pl|7 ++-

[Koha-patches] [biblibre-integration 19/19] Followup Adding OPACSEARCH history

2009-08-28 Thread Henri-Damien LAURENT
opac/opac-search.pl had a remaining --- opac/opac-search.pl |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index 8cbc92f..843a7ea 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -440,7 +440,6 @@ for (my

[Koha-patches] [biblibre-integration 1/1] Followup Adding subtitle opac-results.tmpl had to be updated

2009-08-28 Thread Henri-Damien LAURENT
--- .../opac-tmpl/prog/en/modules/opac-results.tmpl|7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl index eb995f1..2050232 100644 ---

[Koha-patches] [[HEAD][reconciliation]] Removing memberofinstitution management

2009-08-31 Thread Henri-Damien LAURENT
--- circ/circulation.pl| 21 .../prog/en/modules/circ/circulation.tmpl | 11 ++--- 2 files changed, 3 insertions(+), 29 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 2145fbb..a446b07 100755 ---

[Koha-patches] [[HEAD][reconciliation]] Findgroupreserve update : Factorizing code

2009-08-31 Thread Henri-Damien LAURENT
--- C4/Reserves.pm | 44 ++-- 1 files changed, 6 insertions(+), 38 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 11846e7..e609b2a 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -1259,8 +1259,8 @@ sub _Findgroupreserve { my (

[Koha-patches] [[reconciliation]] Fixing kohastructure.sql : some fields were duplicated

2009-08-31 Thread Henri-Damien LAURENT
--- installer/data/mysql/kohastructure.sql |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index 434cfb1..f5b62ed 100644 --- a/installer/data/mysql/kohastructure.sql +++

[Koha-patches] [[reconciliation]] Bug Fixing 3542 : searching for authority in cataloguing

2009-08-31 Thread Henri-Damien LAURENT
There was a problem in the query building and PERL is quite picky with empty data in arrays so setting empty elements to undef --- C4/AuthoritiesMarc.pm | 30 authorities/auth_finder.pl |2 +-

[Koha-patches] [HEAD] Bug Fixing 3568 : Untranslated strings

2009-09-01 Thread Henri-Damien LAURENT
--- .../prog/en/modules/serials/subscription-add.tmpl | 14 +++--- serials/subscription-add.pl| 29 +-- 2 files changed, 12 insertions(+), 31 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tmpl

[Koha-patches] [PATCH] Adding strings to translate in tags.js

2009-09-01 Thread Henri-Damien LAURENT
--- koha-tmpl/opac-tmpl/prog/en/js/tags.js |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/js/tags.js b/koha-tmpl/opac-tmpl/prog/en/js/tags.js index 8d04761..d7dc5de 100644 --- a/koha-tmpl/opac-tmpl/prog/en/js/tags.js +++

[Koha-patches] [PATCH] Adding xsl strings to po

2009-09-01 Thread Henri-Damien LAURENT
xsl strings are now taken into account. This is a first draft. Some parameters of the functions will be taken into account and xsl tags are not translated --- misc/translator/TmplTokenizer.pm |5 +++-- misc/translator/tmpl_process3.pl |4 ++-- misc/translator/xgettext.pl |3 ++-

[Koha-patches] [biblibre-integration] Adding autotruncation

2009-09-02 Thread Henri-Damien LAURENT
--- C4/Search.pm | 14 -- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index fa3950f..27bceb4 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -922,16 +922,6 @@ sub buildQuery { # Some helpful index variants

[Koha-patches] [biblibre-integration] (bug #3573) use delimiter syspref generating overdues csv

2009-09-02 Thread Henri-Damien LAURENT
From: Nahuel ANGELINETTI nahuel.angeline...@biblibre.com --- misc/cronjobs/overdue_notices.pl |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl index 831cdfc..5e7c190 100755 ---

[Koha-patches] [biblibre-integration] Adding xsl strings to po

2009-09-02 Thread Henri-Damien LAURENT
xsl strings are now taken into account. This is a first draft. Some parameters of the functions will be taken into account and xsl tags are not translated --- misc/translator/TmplTokenizer.pm |5 +++-- misc/translator/tmpl_process3.pl |4 ++-- misc/translator/xgettext.pl |3 ++-

[Koha-patches] [biblibre-integration] MT 1587 : CSV export for cart and shelves, with the ability to define different export profiles

2009-09-11 Thread Henri-Damien LAURENT
(export_format table creation) Missing SetVersion in updatedatabase.pl and unmodified kohaversion.pl --- C4/Csv.pm | 80 + C4/Record.pm | 98

[Koha-patches] [biblibre-integration] (bug #3575) fix opac-detail.pl

2009-09-11 Thread Henri-Damien LAURENT
From: Nahuel ANGELINETTI nahuel.angeline...@biblibre.com This delete an useless use C4::Serials(there are 2). And fix the opac-detail template, to fix a variable conflict for serials. Signed-off-by: Henri-Damien LAURENT henridamien.laur...@biblibre.com --- .../opac-tmpl/prog/en/modules/opac

[Koha-patches] [biblibre-integration] 1110 : Balance carts and lists, follow-up : Added Opac lists features to admin lists

2009-09-11 Thread Henri-Damien LAURENT
From: Matthias Meusburger matthias.meusbur...@biblibre.com --- koha-tmpl/intranet-tmpl/prog/en/css/print.css |4 + .../en/modules/virtualshelves/downloadshelf.tmpl | 33 .../prog/en/modules/virtualshelves/sendshelf.tmpl | 43 +

[Koha-patches] [\[biblibre-integration\]\[replace previous MT1587\]] MT 1587 : CSV export for cart and shelves, with the ability to define different export profiles

2009-09-11 Thread Henri-Damien LAURENT
(export_format table creation) Missing SetVersion in updatedatabase.pl and unmodified kohaversion.pl --- C4/Csv.pm | 80 + C4/Record.pm | 98

[Koha-patches] [biblibre-integration] Bug fix : 3618

2009-09-14 Thread Henri-Damien LAURENT
Add some error proof on BuildUnimarcHierarchies --- C4/AuthoritiesMarc.pm | 43 +++ 1 files changed, 23 insertions(+), 20 deletions(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 3be5ee4..a423738 100644 --- a/C4/AuthoritiesMarc.pm

[Koha-patches] [PATCH] BugFix 2726 Resending

2009-09-15 Thread Henri-Damien LAURENT
This bugfix was first sent By Michael Hafen but may not have made its way into LDAP Authentication --- C4/Auth_with_ldap.pm | 16 ++-- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/C4/Auth_with_ldap.pm b/C4/Auth_with_ldap.pm index 08a4353..42ba348 100644 ---

[Koha-patches] patch 2726 resending

2009-09-16 Thread Henri-Damien LAURENT
-- -- Henri-Damien LAURENT BibLibre SARL http://www.biblibre.com Expert en Logiciels Libres pour l'info-doc tel : +33 4 67 65 75 50 From 60b827901ac3b2b53fb8d4a7cab8642b6e024ad6 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT henridamien.laur...@biblibre.com Date: Tue, 15 Sep 2009 21:39:45

  1   2   3   4   >