Commit Graph

13246 Commits

Author SHA1 Message Date
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
Owen Leonard fb278d1254 Bug 4912: Follow-up fix for Bug 4912, redirect user to correct lists
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit d269389839)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:42:05 -04:00
Alex Arnaud 79b55d858e Bug #6112 - Missing fields in overdues csv file
Signed-off-by: Christophe Croullebois <christophe.croullebois@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 913d520be7)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:41:44 -04:00
Alex Arnaud 11b6969ab1 Bug #6107 - Problems when duplicate a patron on memberentry.pl
Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 52ff3ca6ec)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:41:31 -04:00
Jonathan Druart 71e459fe3b Bug 6099: error in report pagination when GROUP BY
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: fdurand <frederic.durand@univ-lyon2.fr>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 6de105084e)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:41:18 -04:00
Paul Poulain 2fdcfcd53e Bug 5903 : French authorised values fixed
country codes must be in capital letters

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:41:05 -04:00
Paul Poulain 6884e37f1f Bug 5275: enable switching back to default biblio framework
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit f0de62e4cc)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:40:53 -04:00
Stéphane Delaune a63c41b661 Fix for Bug 6037, Invalid markup, missing breadcrumbs on Keyword to MARC Mapping page
Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit a59b1d23bb)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:39:23 -04:00
Marcel de Rooy e182b3fa4a Bug 3072: Search for Heading-Main in authorities
Includes Heading-Main in authorities bib1 attribute set.
Also includes Any in authorities bib1 (was still missing).
Also removes temporary fix in AuthoritiesMarc.pm.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Rebased after pushed fix for #5924.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 6e58529bdd)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:39:09 -04:00
Colin Campbell 0e34ade0cd Bug 6096 Correctly return arrayref from GetAllShelves
Follow on from bug 5529 GetAllShelves was also vaguely stuffing
an arrayref into an array
Some signs of cut and paste (unnecessary @params variable)
Calling code now does not have to shuffle the return about
to get the reference. Also removed a debug warn

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:38:56 -04:00
Colin Campbell 554f7f5221 Bug 5529 Absence or Presence of lists not being reliably returned
C4::VirtualShelves::GetRecentShelves contained some rather confused
code The contents of the requested list are returned in an arrayref
which was in its turn being wrapped needlessly in an array
As a result the returned array always consisted of a single element
irrespective of the number of lists.
Made the routine return the arrayref, which can now be tested directly
Unfortunately rather than fixing this we had previously coded around it
assuming it to be a "design" decision. Have amended other calls of
the subroutine resulting in some hopefully less obscure code

Fixed logic error in the results template which displayed new list
within a test for the presence of lists

Removed the offset parameter from the sql in the routine as it was hardcoded
to 0 i.e. the default value

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:38:40 -04:00
Alex Arnaud a358598d9c Bug #6082 - On aqbudgets.pl bug on the Statistic's combobox
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 22dc04e24c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:38:27 -04:00
Paul Poulain bdc5ff98a4 Bug 6106: add item not respecting framework in acq The PrepareItemrecordDisplay sub builds an item framework for later use in ACQ Some cases were missing : item subfield connected to a plugin, hidden subfield, long size subfield.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit e5ff05857e)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:38:12 -04:00
Alex Arnaud aa2ba4f7de Bug #6110 - fix Callnumber index mistake
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 2950fc5596)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:37:59 -04:00
Chris Cormack 2af6f5957d New developer to the history
(cherry picked from commit 2a489184c0)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 14:37:44 -04:00
Galen Charlton 1b64879b00 bug 4903: enable OAI-DC output when install done in standard mode
Based on patch by Tomás Cohen Arazi <tomascohen@gmail.com>,
revised to work regardless of the installation mode.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 46041a8fdc)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 13:47:29 -04:00
Chris Nighswonger 21edf13aad Updating Version Number to 3.02.07.003 2011-04-16 13:47:05 -04:00
Sophie Meynieux 75b1ff4cfe Bug #6064 Improvement of default value usage in overdue
Change default value in overduerules table for delayn (NULL instead of 0) and fix GetBranchcodesWithOverdueRules function

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 13:41:25 -04:00
Paul Poulain a1b285bb8c Bug 6062: ordering basketgroups
When you have many basketgroups, you get the oldest one on top. Usually, you
have something to do on recent ones, so it's better to have basket groups
ordered DESC

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 13:41:11 -04:00
Paul POULAIN 9ff01e22c3 Bug 5951 : consistency change: s/planning/statistic/
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit aaa6ecf2b6)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 13:39:40 -04:00
Chris Nighswonger 2625753029 Fixing typo in kohaversion.pl 2011-04-16 13:32:39 -04:00
Paul Poulain 2d775c7b33 Bug 5915 : C4::AuthoritiesMarc AddAuthority
Fixing 100$a simple error: Sometimes, language is encoded fre50 and not
frey50.
This patch adds check for that problem

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 13:30:21 -04:00