Commit Graph

13267 Commits

Author SHA1 Message Date
Colin Campbell fa5e6daec7 Bug 6315: Fix depreciated constructions in C4::Serials
Perl 5.14 will issue warnings in cases where it is assumed that
() will magically appear around qw() as the interpreter
will stop fooling itself that they are there
Added the missing () in the couple of cases they were required

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 968a6af37d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:10:04 -04:00
conan (aka Fernando Canizo) 88026c1580 Bug 6218: patron gets dot added if no first name
Trivial fix, now it choose surname if firstname is empty and behaves
like before (firstname.surname) if both are provided.

Signed-off-by: Frederic Demians <frederic@tamil.fr>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c87e872278)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:09:33 -04:00
Jared Camins-Esakov 826ee8859f Bug 6152: Document DOM authority index config
Add a note so developers know not to edit authority-zebra-indexdefs.xsl directly
but to instead edit authority-koha-indexdefs.xml and use the
koha-indexdefs-to-zebra.xsl stylesheet to generate the former from the latter.

Signed-off-by: Frederic Demians <frederic@tamil.fr>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 190a4234f7)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:08:55 -04:00
Frédéric Demians 06157187ff Improve error message when translation installation fails
For Translator Manager (myself...). A translation installation may fail because
translator hasn't enter properly string parameters (%s). With this patch, the
message ID is displayed not only the parameter.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit e6b591d95f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-30 10:07:47 -04:00
Chris Nighswonger 3e011a9fb0 Updating Version Number to 3.02.09.000 2011-05-15 15:58:24 -04:00
Chris Nighswonger 78d6256d15 Release Notes for 3.02.09.000 2011-05-15 15:56:27 -04:00
Matthias Meusburger d1f3b156ba Bug 5995 : MT2892: Fix security issue in CAS intranet login
Users could log in intranet using their cardnumber, with superlibrarian
rights.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 417c9084b4)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-15 15:49:00 -04:00
Chris Nighswonger eec142074b Updating Version Number to 3.02.08.000 2011-05-15 14:36:50 -04:00
Chris Nighswonger 5b190fe787 Release Notes for 3.02.08.000 2011-05-15 14:34:25 -04:00
Frédéric Demians c4a0722de2 Translation update for 3.2.8
(cherry picked from commit 681a0fc0292ca5970575c5c2c2b1858a7597577a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-14 20:11:39 -04:00
Chris Cormack 8708377894 Bug 6031 : Fix for syntax (bashism crept into a pure sh script)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit ae70c2f790)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:21:46 -04:00
Colin Campbell 50796d5b73 Bug 6282: HomeOrHoldingBranchReturn missing from pref file
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c83cdd0767)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:21:26 -04:00
Matthias Meusburger c9eda475c9 Bug 6001 : batchRebuildBiblioTables.pl doesn't crash anymore when GetMarcBiblio fails. Unprocessed biblionumbers are displayed at the end of the execution instead.
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit a9cb5fa1ee)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:20:20 -04:00
Robin Sheat ac24bd5680 Bug 5509 - use an XML parser to get values from config
Using sed and regex was causing issues when LDAP connection details were
added.

See
http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454
for more information.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit dfc1038931)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:19:56 -04:00
Jared Camins-Esakov 8966ab9b69 Bug 3543: split NLM call numbers in label creator
Split NLM call numbers using the same rules as those used for Library of
Congress call numbers.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 139f7343f4)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:19:13 -04:00
Galen Charlton a944a8059a history.txt updates for April 2011 releases
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit d04ca42111)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-05-04 18:16:23 -04:00
Chris Nighswonger dbb2ba4923 Revert "3.0.x: ce353e7 bug #3674 allow users creation with disabled password"
This reverts commit 87b792b2b6.
2011-04-21 15:09:41 -04:00
Colin Campbell 3223b18c6a Bug 6211: Set default correctly for SubscriptionHistory syspref
Was being set to an invalid value ';'
resulting in weird behaviour where it looked set but was not
in practice

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit d9be1d6ba9)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-20 18:03:03 -04:00
Chris Nighswonger 56762e966b Reverting pieces of enh bug 4506 which crept in 2011-04-20 15:27:11 -04:00
Chris Cormack 7fa977dec1 Updating package lists
(cherry picked from commit 139d3a81f7)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-19 15:58:03 -04:00
Tomas Cohen Arazi 520c1bb85e Bug 6126 - [3.2.x] Slip print doesn't work on Webkit based browsers
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-18 17:38:11 -04:00
Ricardo Dias Marques 46809c0d9f Lower dependency on Storable to 2.20 in PerlDependencies.pm
This patch lowers the dependency on the "Storable" Perl package
(also known as module/distribution) from version 2.21 to 2.20

This patch created today (14-Apr-2011) does, in PerlDependencies.pm,
the same as a previous patch dated 30-Mar-2010 from Lars Wirzenius
did, in Makefile.PL :

[Koha-patches] [PATCH] Lower dependency on Storable to 2.20.
http://lists.koha-community.org/pipermail/koha-patches/2010-March/011560.html

The reason for this patch is the same that Lars gave for his:

" The Debian squeeze system has only 2.20, and the 2.21 does not seem
 to be required for all tests to pass. Also, checked with
Galen Charlton and Henri-Damien LAURENT (who added the 2.21 dependency)
on IRC that 2.21 did not have anything that was required, compared
to 2.20. "

I believe this patch should be applied to the "master" branch
and should also be "cherry-picked" for the "3.2.x" branch.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 7457243d4d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:22:03 -04:00
Paul Poulain 10618a0107 Bug 6104: Modify item looses branch
If the $value is provided by the item, use it, don't use the librarian branch !

Signed-off-by: Sophie Meynieux <sophie.meynieux@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b0374db5ff)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:19:02 -04:00
Chris Cormack 77e64d6be0 Fix for Reserves.t allow the tests to run without a logged in user
(cherry picked from commit 67e3b86181)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:18:25 -04:00
Jared Camins-Esakov 87ab53814a Bug 6154: Default sorting by title doesn't work
If you have the default sorting set to title ascending or title descending,
your search results will not automatically be sorted because the syspref uses
title_asc and title_dsc, whereas Search.pm wants title_az and title_za. The same
issue is present when the default sort is on author.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 499c694daf)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:15:28 -04:00
Colin Campbell b4135cc461 Bug 6170: Do not prematurely group results
If OPACGroupResults preference was set it was
shortcircuiting the template selection logic and
we didn't go to the advanced options field

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 8b309c6624)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:04:38 -04:00
Jared Camins-Esakov a4ed4cb19e Bug 6169: Inventory tool fails when ignoreissued set
Due to incorrect parameters passed to C4::Items::GetItemsForInventory, checking
the "Skip copies on loan" box resulted in the inventory failing to run.

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit f08f67d3f1)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:03:12 -04:00
Chris Cormack aeb4114bd0 Bug 5917 : Fix for xgettext.pl
(cherry picked from commit 8df93d61bc)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:02:46 -04:00
Jared Camins-Esakov 015e7597aa Bug 2505: quiet warnings in tools/inventory.pl
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 9475752f3a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 15:00:42 -04:00
Colin Campbell cc142dc1c2 Bug 6164 Send Borrower Data to template consistently
messaging and notices patron tabs were not passing borrower
info in a manner consistent with other tabs

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b993d2d231)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:59:12 -04:00
Chris Cormack fd6d257ad7 Adding 2 more developers to the history, 141 now
(cherry picked from commit 79ec08b479)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:58:02 -04:00
Chris Cormack 607777f552 Bug 6155 : Fixing bug with lists not showing
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 88f0c4cb45)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:57:47 -04:00
Srdjan Jankovic 7265af3d03 bug 6031: play with options passed on to rebuild-zebra.pl
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 7882911799)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:56:10 -04:00
Sophie Meynieux d9576d4656 bug #6053 Improvement of letter HOLD_PRINT
Modify title template for letter HOLD_PRINT in installer sample data

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit ac9e9cf809)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:50:28 -04:00
Paul Poulain e5e8278621 BZ6087: remove duplicate budget link
this feature doesn't exist yet, so the link is useless

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 5b16634c0c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:49:39 -04:00
Owen Leonard c7ce6a2a19 Fix for Bug 5950 - changing frameworks doesn't change anymore
Selecting a framework from the dropdown menu has never (AFAICT)
auto-submitted the form to change the framework. This patch
reformats the form in order to make it clearer that this menu
 is part of the search function.

Signed-off-by: fdurand <frederic.durand@univ-lyon2.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b29e6e8609)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:49:22 -04:00
Stéphane Delaune 1e60dedcce Bug 6108 - Quicksearch in member.pl does not display paging correctly
Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit bda0be46b2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:49:10 -04:00
Alex Arnaud a1029148df Bug #6052 - BranchTransfer Limit :Adds a default value
Signed-off-by: Christophe Croullebois <christophe.croullebois@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 18b89e9a67)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:48:55 -04:00
Alex Arnaud 4b4082362b Bug #6130 - Letters: Fixing Subject encoding
Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 7c08d7c81e)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:48:07 -04:00
Paul Poulain 616e7f4298 Bug 6118 - Title-host missing in Search.pm
in Search.pm, in the list of available indexes, Title-host is missing

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 074bcc1970)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:47:48 -04:00
Owen Leonard e5ece57623 Fix for Bug 5234 - Remove unused CSS files
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 8464104fb2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:47:07 -04:00
Henri-Damien LAURENT a69e9552a7 Bug 6017 : MT3157 : editing an attribute lead to Error500
Editing an extended attribute in the extended attribute tab would lead to an Error500
This patch adds some checks for values before UPDATE in SQLHelper.pm
And Adds some checks also befaore calling ModMember in members/memberentry

Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit e2fd348f7f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:44:40 -04:00
Srdjan Jankovic 3f643211c9 Bug 6024 : add "Run report" link on the new report creation success page
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b390c657b8)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:44:04 -04:00
Katrin Fischer f10e851326 Bug 5895: Translation error in German fast add framework
Fixes description of 952$1.

Signed-off-by: Mark Gavillet <mark.gavillet@ptfs-europe.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 44fe3559bb)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:43:47 -04:00
Alex Arnaud f9c24b1e6b Bug 6095: Add UTF8 encoding in template
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0b96414ce3)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:43:34 -04:00
Katrin Fischer c3d933c729 Bug 5949: Hide 'Edit record' link when creating new order
The 'Edit record' link only makes sense, when you want to modify
an order after creating it. Before there is no biblionumber the link
can link to. Patch adds check for existing biblionumber so link is
only shown when there is an existing record to be edited.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 760babcf4c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:43:16 -04:00
Tomas Cohen Arazi f017dab110 Bug 4189 : Searching z39.50 without selecting any servers results in error message
This patch makes z3950_search.pl handle the situation properly, and z3950_search.tmpl
show a proper message instead of a program error. All this, in case the javascript
checks that alert the user (that at least one target has to be chosen)  are by-passed.

Regards
To+

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixed small translation problem in javascript alert message.
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 4747f5adb2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:43:03 -04:00
Paul Poulain 1a2e050fc0 Bug 6088: remove Perl warning
caused by use warnings;

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 65c21fa52f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:42:50 -04:00
Paul Poulain 0f00719566 Bug 6072: fixing permission inconsistencies MT5306
In large libraries, some librarian may have permission only
to recieve shipments This patch fixes some permission :
* booksellers page = accessible to anyone that has at least 1 acq permission
* parcels = accessible to anyone with order_recieve
* supplier detail = accessible to anyone that has at least 1 acq permission,
  but modifying accessible only if vendor_manage

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c0ecd7df4f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:42:35 -04:00
Owen Leonard ad7159d9f7 Fix for Bug 6109, Hey!
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit bd4bf5485c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:42:23 -04:00