Bug 7178 follow-up: Fix check_additem when UniqueItemFields is empty

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Bug 7178 follow-up: Do not fill items table with "(undefined)"

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Merge remote-tracking branch 'origin/new/bug_7178'
bug_7398: Replaced OPACDisplayRequestPriority syspref with OPACShowHoldQueueDetails

New syspref is Choice, options being:
- None
- Priority only
- Holds number only
- Holds number and priority

Show holds count on OPAC detail

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Bug 7398 follow-up DBRev number
Bug 8128 - can't seem to run new sql reports

Reports cannot be saved because saved_sql.cache_expiry cannot be null.
Fixed by setting default to 0 if a cache_expiry value is not
passed into the function.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
passes t xt

Verified original bug, patch resolves issue.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Bug 8128 - [SIGNED-OFF]Followup - Change default value for cache_expiry

Change default value for cache_expiry from 0 to 300.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Bug 8135 : Fix installer to copy services/ dir

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>

http://bugs.koha-community.org/show_bug.cgi?id=7318
Bug 7112 - Having two prices in 020$c causes basket creation to fail from staged marc import

The root problem here is that the price is being pulled from the MARC record
and is then run through Number::Format::unformat_number. This routine is
really being misused, and should only be used to reverse the effects of
Number::Format on a number string. We are apparently using it to strip
out currency characters and the like.

Number::Format::unformat_number will choke if there is more than one period (.)
in the price field. MARC standards do not limit this field to a single period,
so unless there is only one period, we should skip number unformatting.
Examples of that break unformat_number include '18.95 (U.S.)', and
'$5.99 ($7.75 CAN)', both of which are perfectly valid.

This commit adds the function MungeMarcPrice that will better handle
find a real price value in a given price field. It does a very good
job at finding a price in any currency format, and attempts to find
a price in whichever currency is active before falling back to
the first valid price it can find.

The variable $price may fail to have an actual price, in which case
the price then defaults to '0.00', which would be rarely if ever the
correct price. To combat this, I have added highlighting to any
price in the Order Details table that begins with 0 ( i.e. '0.00' ).

Also, fixed the incomplete table footer, adding a new td with a
span of 3 to fill in the nonexistant cells.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Work on new Koha marc editor

This patch:

--  Creates a new subdir 'cataloging' in both the "controller"
    and "view" directory structures
--  Creates a biblio template for editing bibs
--  Creates a script to render the biblio template

This is really unimpressive... it remains to be seen how far
this all goes.
Misc changes to biblio_add

--  Adding Modern::Perl to biblio_add.pl
--  Adding copyright notice to biblio.tt
Renameing to better reflect reality

This patch:

--  Renames biblio_add.pl to marc_editor.pl
--  Renames biblio.tt to marc_editor.tt
Creating Koha::MarcEditor

This patch creates a new module Koha::MarcEditor
to handle marc editor objects.
Implementing Koha::MarcEditor

This patch:

--  Implements Koha::MarcEditor
--  Comments out unused css & javascript includes for the time being
Adding a test marc editor xslt framework

This marc editor will use xslt to function as frameworks
for customizing the editing interface. This is a test stylesheet
to be used for development. It was taken from LOC's website here:

http://www.loc.gov/standards/marcxml/xslt/MARC21slim2HTML.xsl
Adding more methods to Koha::MarcEditor

This patch adds:

--  An AUTOLOAD function to handle all accessors
--  An output_editor method to grind the marc xml through the
    selected xslt and return the parsed output for display
Misc work on marc_editor.pl and associated template

This patch is mainly evolving development work.
Misc cleanup of Koha::MarcEditor

See the line above for what this patch does... ;-)
Adding text input fields to test stylesheet

This patch adds:

--  Text input fields to the leader and control fields
--  id attributes to the control field divs which are equal to the
    field numbers

All of this will change... this is merely one phase of progress
Modifications to the test stylesheet

This patch:

--  Moves the id attribs from the div to the input