Commit Graph

13185 Commits

Author SHA1 Message Date
Robin Sheat f98b76bfa8 Bug 6032: Increase zebra biblio register stores
This keeps the package versions of the zebra configuration in sync with
the makefile-installed ones.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 13:16:16 -04:00
Jared Camins-Esakov 12d2b08413 Bug 6032: Give biblio register and shadow sane default max sizes
The out-of-the-box maximum size for the biblio register and shadow stores is
4GB, which is much too small for even medium sized libraries. This makes the
default maximum 20GB, which should be enough for even most large libraries.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 13:16:02 -04:00
Frédéric Demians bd1c75cb03 Bug 4374 Improve biblio data entry form regarding hidden/mandatory fields
Biblio framework has 3 entry points controlling if input box are
displayed by default in data entry form:

  - 'mandatory' flag at field level
  - 'mandatory' flag at subfield level
  - 'hidden' flag at subfield level

It doesn't work as it should (?):

  - All subfields are expanded (shown) if their field is mandatory
  - A subfield containing anything is always expanded whatever it contains
  - A mandatory subfield is always expanded
  - An hidden subfield isn't expanded.

Default framework having 0 in all marc_subfield_structure.hidden, by default
all subfields will be expanded.

TO BE INTEGRATED IN RELEASE NOTES:

  Koha sysadmin should have to edit its frameworks to add hidden=1 in
  appropriate subfields.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 13:15:45 -04:00
Chris Cormack f19e7bb5c9 Bug 6014 : Removing a leftover warn
(cherry picked from commit 13ad14a754)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 13:15:23 -04:00
Henri-Damien LAURENT e88a1ec4b8 Bug 6014 : MT3138 Adding some permission management to viewlog
If user can not access reports, then form to search the logs is not displayed.
It also improves the presentation.

C4/Log.pm
- adds the fact that we can enter multiple actions
- fixes the fact that user information was truncated

circ-menu.inc:
Fixing information passed to the viewlog from circ-menu

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 12:34:17 -04:00
Nicole Engard a4f80b7ab9 bug 4837 make circ print page show item type description
Signed-off-by: Guillaume Hatt <guillaume.hatt@€nc.sorbonne.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit fcbcdcf4ce)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 12:20:05 -04:00
fdurand 82d26a17db Bug 4196 -Followup : Defintion of popularity index into Unimarc setup
Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit ecbeafff07)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 12:19:52 -04:00
Alex Arnaud 4f6c0e21b3 Bug 5941 : (MT4425) Replace search 'an' by 'an, phr' in searchresultlist.tmpl
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 99f49c1108)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 12:19:08 -04:00
Paul Poulain 193270e718 BZ6065: confirmation when deleting an order
when clicking on "delete order", there is no confirmation box, the order line is
deleted without any question !

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 12:17:44 -04:00
Stéphane Delaune 2dfc86812a Bug 5942, sql for UNIMARC Authorities
(MT #4339) init default UNIMARC sql structure

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 12:16:21 -04:00
Katrin Fischer 2c7ba6e16c Bug 6056: Notes were not shown when modifying order line
To test:
- add a new order in acquisitions with some content in the notes field
- save order
- modify order - Notes field will be shown as empty

The template variable for notes is missing from the template.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 9cab9be3d6)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 12:15:18 -04:00
Christophe Croullebois 857df73f0e Bug 5949 : Popup alert when deleting items from basket, also change planning value to statistics
(MT #2391) : acqui/neworderempty.pl

Multiple fixes in neworderempty.pl, mainly about Modify order line page, link to edit catalog, user can delete items with popup information and can't add items also with popup explanation.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
- changed the the link from 'Edit Catalog' to 'Edit record' (like on result list)
- changed position of 'Edit record' to be shown behind the label 'Catalog details' instead of showing behind the Title.
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 1f323c00a1)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 12:13:29 -04:00
Alex Arnaud c12f3ac9d9 Bug 5947 Suggestions : add date to the search query
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixes searching by dates, like 'Suggested on:'
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 3603ae6274)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 12:13:06 -04:00
Marcel de Rooy 3eaad57668 Bug 3628: opacSerialDefaultTab
This partial fix makes this existing pref visible in the interface.
It should work for UNIMARC. Some work still needs to be done at the MARC side.

Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0dba0e0d3c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 12:12:32 -04:00
Chris Nighswonger 3d87734ce6 Updating Version Number to 3.02.07.001 2011-04-16 11:52:21 -04:00
Katrin Fischer 708dcb3e3f Bug 5860: Adding duplicate stocknumber fails silently
When adding a duplicate stocknumber the duplicate was not saved to the database.
This happened, because the field stocknumber in table items was declared to be unique.
Discussion on bug suggests to lift this restriction.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested. Corrected typo in updatedatabase script. Version 3.01.00.095 introduced the index with double s, although structure had only one s in index name.
Unaware of this bug, I entered the more general bug 6041 for similar problems with modifying items.
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit a8ffb2273b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:51:10 -04:00
koha-preprod 2fb003a7c0 Adding a javascript function to check the validation of a record with a budget.
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 9dc69cf47f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:50:33 -04:00
Christophe Croullebois 6b6ff91b9a Bug 5948 : Creation of a quantity column in receipt summary
In receipt summary the quantity did'nt appear in already received table, this patch fixes the omission

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Patch tested on current master. Works like advertised.
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit b9d434c18f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:50:18 -04:00
Robin Sheat 7fbca96ce9 Small patch to make myself feel important
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit dc37fe9730)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:46:13 -04:00
Frédérick Capovilla 644b085876 Escape the double quotes in authority search queries to prevent errors.
Before this fix, any search with double-quotes would return an error
500.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 21993ab00a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:45:09 -04:00
Ian Walls 84ebbe6a89 Bug 5990: Lists and Cart show LOC code not Location Authorized value
Lists in the OPAC, and Cart on both sides, show the LOC code for items, rather
than the appropriate Description from Authorised Values.  This is because the
code uses GetItemInfo, which is a very heavy-weight call to only retrieve some
of the desired information.

This patch introduces a new subroutine in C4::Items, GetItemsLocationInfo, which
returns the branch names for both home- and holdingbranches, the location code,
both opac and intranet location descriptions, itemcallnumber and cn_sort. This
should be used instead of GetItemsInfo in any case where the locational
information is all that's required, as it's much more streamlined and efficient.

In the OPAC Lists, this only applies if OPACXSLTResultsDisplay is 'off' (set to
'normal').

Signed-off-by: Jared Camins-Esakov <jcamins@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 90392c19cc)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:17:30 -04:00
root 21eacc51ce Bug 6005: Fixes Transit slips cause FF4 to display "prevent this page from opening additional dialogs"
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 5d707b5e9b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:09:30 -04:00
Owen Leonard be91c06965 Fix for Bug 3523 - Menu of existing lists limited to 10
- adding "more" option to the search results dropdown
- offering a scrolling list on the add-to-list popup
- lists add popup shows the full list of all
  the patron's lists, divided into groups of private and
  public lists.

Can be improved by a fix for Bug 5529

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 731b933d51)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:08:09 -04:00
Henri-Damien LAURENT 717dca51c3 MT3289 : check_sysprefs.pl case sensitive variable names
Variable names for systempreferences are now case sensitive.
Changing check_sysprefs in relation with this change

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:07:33 -04:00
Magnus Enger 693d2df66b Bug 3644 Add support for NORMARC
- XSLT for the OPAC
- Value_builders for lesder, 007 and 008
- Default NORMARC framework
- Reverse MARC logic of some subs, so MARC21 is default (and works for NORMARC)
- Add NORMARC as an option to the syspref marcflavour
- Add record.abs for NORMARC
- Add NORMARC and nb as options to Makefile.PL
- Add etc/zebradb/lang_defs/nb/sort-string-utf.chr
- Copy MARC21slim2OAIDC.xsl to NORMARCslim2OAIDC.xsl

Some things are still missing, e.g.:

- XSLT for Intranet
- More MARC21slim2*.xsl transformations
(cherry picked from commit edf8ad5d5d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:06:07 -04:00
Magnus Enger a1ae892887 Another wrong encoding in installer/data/mysql/nb-NO/2-Valgfritt/
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
(cherry picked from commit 759499d6e8)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:05:48 -04:00
Magnus Enger d23950de60 Fix wrong encodings in installer/data/mysql/nb-NO/2-Valgfritt/
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
(cherry picked from commit d5608708c1)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:05:33 -04:00
Magnus Enger 7b3388580e A couple of missing translations in installer/data/mysql/nb-NO/2-Valgfritt/
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
(cherry picked from commit a299f54a9f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:05:19 -04:00
Magnus Enger 078a6432ba Fix typo in installer/data/mysql/nb-NO/2-Valgfritt/sample_patrons.txt
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
(cherry picked from commit 93d968cb30)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:05:06 -04:00
Magnus Enger 4b1fe0e50f Add files to installer/data/mysql/nb-NO/2-Valgfritt/
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
(cherry picked from commit 4a5f1ec49a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:04:34 -04:00
Magnus Enger c701fd1f7a Translate OPACSearchForTitleIn in installer/data/mysql/nb-NO/1-Obligatorisk/sysprefs.sql
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
(cherry picked from commit 1564cd0d00)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:04:20 -04:00
Magnus Enger 5b8db92f5c Add files in installer/data/mysql/nb-NO/1-Obligatorisk/
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
(cherry picked from commit e69c01faf6)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:04:07 -04:00
Magnus Enger ca697139e5 Add a copy of MARC21 data
Copy installer/data/mysql/en/marcflavour/marc21
to   installer/data/mysql/nb-no/marcflavour/marc21

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
(cherry picked from commit 7af2727127)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:03:46 -04:00
Magnus Enger 281a6e1d27 Add sample Z39.50 servers
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
(cherry picked from commit f086d7e1bf)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:03:33 -04:00
Colin Campbell 8bb38b31f1 Bug 5708 : Get Correct Discount when levying rentalcharge
Branch can be a parameter so it should be included in the rule retrieval
Need to select the most appropriate rule from those returned
(was defaulting to first returned!)
Try to make what's happening a bit less opaque
null fields are returned as undefined not 'NULL' by DBI

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 88cb47339a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:02:35 -04:00
Paul POULAIN 5977b58434 Bug 5982 : OPAC Serials Minor change in description
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 268f860e24)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:02:20 -04:00
Owen Leonard 66161de2e7 Fix for Bug 5972 - DisplayClearScreenButton preference introduces invalid markup
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 735d986a0c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:02:07 -04:00
Owen Leonard 55ac4b043b Fix for Bug 5971, Minor markup error in holds queue report
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 84e43e0615)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:01:54 -04:00
Jared Camins-Esakov bf7ce90ed5 Bug 4393: Scan Indexes results cannot be sorted
Because of the way Scan Indexes works, the results cannot be sorted. Previously
when any sort other than relevance (or in some cases popularity) was used, the
search failed. This patch disables sorting on Scan results. This patch also
fixes the index selection dropdown on the results page, which was not being
populated correctly from the Advanced Search screen.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:01:36 -04:00
Henri-Damien LAURENT 11155dbf29 Bug 5964 : Translation problem on aqbudgets.tmpl
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 813f5c3f51)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-16 11:01:18 -04:00
Chris Nighswonger 9d5ab23d7c Updating Version Number to 3.02.07.000 2011-04-15 23:52:48 -04:00
Chris Nighswonger 8ad995691c Release Notes for 3.02.07.000 2011-04-15 23:51:20 -04:00
Frédéric Demians 3cdc307c26 Translations update for 3.2.7
(cherry picked from commit 742c92c778140fcd00edefb648db79d7ca53c229)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-15 12:18:07 -04:00
Owen Leonard 2362b3c6c0 Partial fix for Bug 4870, Damaged status does not prevent items from being selected for reserves
This patch changes the holds queue build process in order to
require that items not be damaged in order to appear in the
holds queue report.

Revision adds a check for the AllowHoldsOnDamagedItems preference to
determine whether a damaged item should be included in the holds
queue report.

Signed-off-by: Christophe Croullebois <christophe.croullebois@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0f7411ceee)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-11 15:51:52 -04:00
Janusz Kaczmarek 052f294836 Bug5555 Corrected search for ISBN / ISSN
Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit ab7435f964)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-11 15:51:00 -04:00
Henri-Damien LAURENT 38cc50f293 Bug 5924 : C4::AuthoritiesMarc.pm search enhancement
Heading Main is defined in unimarc record.abs
re enabling that feature

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-11 15:50:45 -04:00
fdurand 9b9fe63b1f Bug 4196 - Defintion of popularity index into Unimarc setup
Signed-off-by: fdurand <frederic.durand@univ-lyon2.fr>
Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0c21ab2622)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-11 15:50:21 -04:00
Frédérick Capovilla 93ca9560aa Bug 5410 : Adds "do-not-truncate" in the search queries of Heading.pm
Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0f4edffc16)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-11 15:49:49 -04:00
Chris Cormack a9f5a990f3 Bug 6040 : Adding some error handling to the opac export
Signed-off-by: Matthias Meusburger <matthias.meusburger@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 58013b6c2a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-11 15:49:07 -04:00
Sophie Meynieux 666b0d9433 Bug 6047: Remove check on subfield 3 that prevents biblios from BNF to create corresponding authorities
Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 96f054e90d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-04-11 15:48:51 -04:00