Commit Graph

14327 Commits

Author SHA1 Message Date
Chris Nighswonger 19e4e59659 Updating Version Number to 3.04.03.000 2011-07-28 08:38:24 -04:00
Frère Sébastien Marie a741245a0a Bug 6632 [Signed Off] add html filter to prevent XSS
The filter 'html' have been added on all occurences of shelvename, which come from user input.

http://bugs.koha-community.org/show_bug.cgi?id=6632

Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 1124bf682f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-27 19:31:47 -04:00
Ian Walls d5c1929ed1 Bug 6614: Remove newlines from order notes when exporting to CSV
Newline is not a valid character to Text::CSV's combine() subroutine.  If an order
contained a note with a newline in it, that line would come out as a blank entry in
the exported CSV.  This patch strips such characters, globally.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-26 19:51:49 -04:00
Chris Cormack e8f6412c1f Bug 6611 : With the change to making cardnumber a nullable field, we need to pass it around when we are updating borrowers, to make sure we don't null it
Tested with every small edit link on moremember.pl.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0dae6dca92)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-26 19:51:35 -04:00
Owen Leonard 206293d79a Fix for Bug 6622 - Remove closing style tag from staff-global.css
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 9db5fa227f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-25 22:10:14 -04:00
Owen Leonard 07387bea17 Fix for Bug 6612 - Sort pulldown for messages in alphabetical order
The values in the menu come straight out of GetAuthorisedValues(), which sorts
its results by "category, lib, lib_opac." Rather than trying to re-sort the
data in circulation.pl this patch changes the template to show 'lib,' the
description, instead of the authorised_value. That will make the output
match the column which is being sorted.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-25 22:09:38 -04:00
Owen Leonard d20900f7f4 Fix for Bug 6484 - due date sorter on 'my summary' missing
Columns on the summary table are shown or hidden based on a
variety of different settings, leading to convoluted if/else
template constructions if we want to define header sorting
in the <script> block. Using the jQuery Metadata plugin
allows us to specify sorting options as classes on the
table header. This adds a dependency but simplifies the
template markup significantly.

I recommend continuing to specify header sort options in the
<script> block in cases where it is relatively simple to do
so and saving inclusion of the additional jQuery plugin for
pages which really need it.

Other changes: Moved common sorter configuration detalis to
default declaration; Moved the date due column so that it
could be set as the default sort without taking into account
multiple disappearing columns (default sort cannot be set
in the markup for a <th>).

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-25 22:09:12 -04:00
Owen Leonard 928755dae9 Fix for Bug 6601 - dictionary items not adding to query
T:T variable scope error.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-25 22:07:48 -04:00
Owen Leonard 9bb97e76a8 Fix for Bug 6599 - Don't show dictionary definition table if there are no definitions
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit bd6404608a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-25 22:07:31 -04:00
Owen Leonard 633908d27e Fix for Bug 6578, serial items have misaligned columns in holdings table
It looks like a variable name got changed in the T:T transition.
This correction uses the H:T:P template for reference.
(cherry picked from commit c8c019e07f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-25 22:06:51 -04:00
Ricardo Dias Marques a5d777bd3f Bug 6503 - Variable $sth is declared 3 times (with keyword "my") in "makepayment" sub of "Accounts.pm"
In the code available today (14-Jun-2011), in Koha git's "master" branch,
the file "Accounts.pm" (in the "C4" directory) has the variable "$sth"
declared 3 times in the "makepayment" sub. This causes the following
warnings to appear when running "make test" in Koha installation, for
several tests:
t/Heading.t ......................... "my" variable $sth masks earlier declaration
in same scope at kohaclone/blib/PERL_MODULE_DIR/C4/Accounts.pm line 172.
"my" variable $sth masks earlier declaration in same scope at
kohaclone/blib/PERL_MODULE_DIR/C4/Accounts.pm line 188.
[...]
t/ILSDI_Services.t .................. "my" variable $sth masks earlier declaration
in same scope at kohaclone/blib/PERL_MODULE_DIR/C4/Accounts.pm line 172.
"my" variable $sth masks earlier declaration in same scope
at kohaclone/blib/PERL_MODULE_DIR/C4/Accounts.pm line 188.
[...etc...]

Therefore, I'm removing the "my" keyword from the declarations of "$sth"
in lines 172 and 188 of "Accounts.pm".

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-25 22:06:35 -04:00
Janusz Kaczmarek d397e16eb3 Bug 6480 - Koha produces a lot of apache logs for UNIMARC
For Koha with UNIMARC a lot of entries in apache log lines are produced.

In the patch, corrections to the GetCOinSBiblio function has been introduces,
in the UNIMARC section: (i.e. || '' at the end of lines that can create this
problem) -- analogous as it is in the MARC21 section.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-25 22:06:03 -04:00
Ian Walls ea49f512bf Bug 6476 Followup: more Baker and Taylor bookcover fixes
The T:T variable was also wrong in 6 other instances, and needed to be updated from
'BakerTaylorBookstoreurl' to 'BakerTaylorBookstoreURL'.

Scoping issues also present on most all instances
(cherry picked from commit 94e3177983)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-25 22:05:10 -04:00
Frédéric Demians d6d58aff2c 3.4.3 translation update
(cherry picked from commit 1b498df697b36c802037a1a9406a65765b9f24c4)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-25 07:29:06 -04:00
Chris Nighswonger 62d4675d7d Release Notes for 3.04.03.000 2011-07-24 15:34:55 -04:00
Owen Leonard d4fc7cc578 Follow-up fixes for Bug 5917, Switch Koha to use Template::Toolkit
While fixing Bug 6395 I found a few other instances of leftover
TMPL usage.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-22 16:32:17 -04:00
Chris Cormack 5d627fdc8f Fixing missing padding on module version
(cherry picked from commit 80ba84159d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-22 16:31:02 -04:00
Ian Walls a15becb9d1 Bug 6613: CSV basket export columns misaligned
Removes 'line' heading, since it does not correspond to any existing field name, and it pushes the fields
over by one ('ordernumber' is used to denote the ordernumber).

This patch also optimizes the GetBasketAsCSV subroutine a bit; it removes an unnecessary call to GetBiblioData,
since the order information retrieved from GetOrders already contains every field in koha.biblio and koha.biblioitems

This patch also removes the explicit sort done by publishercode, since the information returned by GetOrders is
already ORDER BY'ed, first by publishercode, then by title (there was a FIXME note in GetBasketAsCSV to do this, but
it's already done, so... :) )

To Test:
1.  Create a basket with at least three orders:  one from one publishercode, and two from another
2.  Be sure to leave out any "\n" in your Order Notes, lest you fall prey to bug 6614!
3.  Export the basket
4.  You should see the orders sorted first by publishercode, then by title
5.  Columns should line up correct all the way through

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-22 16:30:42 -04:00
Owen Leonard 383ac1483b Fix for Bug 6608 - Date-pickers broken on guided reports pages
Template variable scope errors.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-22 16:29:59 -04:00
Liz Rea 2edaf8d31e Bug 6478 -- add purge_suggestions.pl to the crontab.example
To test:
Verify that there is a listed job for purge_suggestions.pl in the crontab.example

Bug 6478 - adding --days support and help verbiage to the cronjob.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-22 16:29:00 -04:00
Marcel de Rooy c1c4030368 6083: Adding some version numbers and newlines to improve output in web installer
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit efc0851a49)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-22 16:28:13 -04:00
Katrin Fischer 012f32da16 Bug 6589: Adding supplements broken
To test:
- add a new subscription, choose 'create items on receive'
- receive some issues and create items > should work ok
- create a supplement, alone or at the same time as receiving a normal issue
- check if item was created and attached to the biblio record

Without patch this should give you an error message. Although supplement will be created,
no item will be added to the bibliogrpahic record.

With patch applied there should be no error message and the item should be created
and attached to the proper record.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-22 16:27:41 -04:00
Robin Sheat cf80d6ae06 Bug 6361 - make the packages work with koha 3.4
This commit does the following:
* Merge the changelog from the releases of 3.2
* Adds a command 'koha-upgrade-to-3.4' that does the MARC item splitting
  stuff.
* Adds a debconf note to make sure people know that they need to run
  the above command.
* Fixes the inclusion of jQuery in the packages.
* Makes build-git-snapshot build packages with a 3.5 version.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-15 07:19:50 -04:00
Owen Leonard 774ebdd823 Fix for Bug 6587 - Tag moderation lost colors
T:T variable scope error. Also correcting T:T
variable error with row numbering.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-14 21:12:23 -04:00
Owen Leonard 0461c8e5ad Fix for Bug 6586 - calendar showing the wrong event type when editing
This bug must have been present for a while. There wasn't proper
handling of repeating yearly holidays when it came to the label.

To be clear, I believe this bug only affected holidays which repeat
yearly on the same date.

Instead of correcting the label to match the existing scheme I
added a new color code and label so that there are now two styles
for yearly and weekly repeating holdiays. This makes it more
clear what kind of repeating holiday you're looking at (rather
than having one color code for both).

After applying this patch, new and existing holidays which
repeat yearly on the same day should be color-coded orange and have
a 'Holiday repeating yearly' label. Weekly holidays are now
labeled 'Holiday repeating weekly.'

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-14 21:12:09 -04:00
Owen Leonard d078dd39af Fix for Bug 6570 - unlabeled box on funds form
The cause was a missing </select>, an error which wasn't
picked up by the HTML validator. Firefox 3.6 didn't have
a problem with it, but newer browsers must be changing
the way they accommodate markup errors.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-14 21:11:55 -04:00
Owen Leonard ef4c08b70f Fix for 6426 - messaging not showing on patron categories
T:T variable name problems were causing the problem.

I used this opportunity to change the way the data is
output: Now the messaging preferences are only output
if there is a current setting.

Also corrected the js table sorter configuration for
the right columns and moved the template-based table
row striping to the tablesorter plugin config.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-14 21:11:41 -04:00
Owen Leonard f21de2a14c Fix for Bug 6577 - columns misaligned on serials search results
Minor T:T variable scope problem

[2011.07.12] I confirm the bug and the solution

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit f4892799e5)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-14 21:11:28 -04:00
Dobrica Pavlinusic ec92d9407e Bug 4994 - Net::LDAP returns lowercase names
This requires us to specify all LDAP mappings in koha-conf.xml in lowercase,
instead of original case used withing LDAP.

Compare readability of

<userid      is="hrEduPersonUniqueID"  ></userid>

(which doesn't work) with required (and non-intuitive)

<userid      is="hredupersonuniqueid"  ></userid>

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-14 21:11:13 -04:00
Owen Leonard 2a4ebc4cc6 Fix for Bug 6573 - Library name entry field enforces unnecessary maxlength
Removing maxlength from branches.tt and other admin templates
which enforce it unnecessarily. Correcting other maxlengths
which do not match the database structure.

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 7b1ca473cc)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-14 21:07:42 -04:00
Owen Leonard 40d887082e Revised fix for Bug 6133 - Authorised values administration, warn for modifs
- Reformatted for T:T
- Changed wording slighly
- Styled message with new "note" style for non-dialog messages
- Added correct alert style to existing error message

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-14 21:07:30 -04:00
Colin Campbell d5d5f0f5ab Bug 2505: Suppress some warnings emitted by members-home.pl
an undefined value in branch and the undef selected
can generate a large amount of warning noise

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-14 21:07:10 -04:00
Nicole C. Engard 44e22f3e83 bug 6558 correct description for IntranetNav
IntranetNav says the HTML will appear in the More
menu, but it appears to the left of the More
menu. This patch fixes the preference description.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit afe52ddc90)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:37:26 -04:00
Owen Leonard 9b15650d6c Fix for Bug 6531 - clicking print button in opac causes 404 error
opac-detail and opac-ISBDdetail both use window.print(), so I've
added that to opac-MARCdetail as well. I've also eliminated the
"javascript:" pseudo-protocol because it's pointless. I'd
prefer to have a real link for non-js users but that will have
to wait for another bug.

After applying this patch users with JS enabled should get a
print prompt after clicking the "Print" link on opac-MARCdetail.pl

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit f789331148)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:37:10 -04:00
Ian Walls 431c63e25f Bug 6476: Baker & Taylor content not working
Template Toolkit scope issue.

To Test:
1.  Disable Amazon and Google bookcovers
2.  Enable Baker and Taylor images
3.  put SOMETHING in the BakerTaylorBookstoreURL system preference
4.  check the source of opac-results.pl and opac-detail.pl, and see that SOMETHING in place between "https://" and the normalized ISBN

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:36:57 -04:00
Paul Poulain b255d1a75c BZ6066 let's the librarian choose the itemtype when ordering
For libraries with item-level_itype, the itemtype is in the item.
For others, it's in the biblio and should be added with the title/author when it's ordered

This patch adds the list when applicable,and build the biblio record accordingly
(BibLibre MT5189)

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:36:41 -04:00
Liz Rea 6a6a1a59ab Bug 4951 - Print page doesn't close after print This patch adds the print/close functionality present on all other slips to the full page account summary.
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
(cherry picked from commit fcdf50af6e)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:36:21 -04:00
conan (aka Fernando L. Canizo) 3738e320a7 Bug 3674: reimplementation
05eb43f5fc reverted a previous
implementation of 3674.

3674 was encoding the password field when it was meant to be disabled
(password='!'), and then, in Auth.pm we were trying to compare an
encoded '!' with '!', which will never succeed.

This gets sure we encode only provided passwords and also includes an
auto generated login.

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c5b1c39b80)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:36:05 -04:00
Owen Leonard a6c7d6e7a7 Fix for Bug 3397 - Deleting item record leaves a hole in patron's reading history
Excluding entries in old_issues which have a NULL itemnumber

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 9047bd2ddf)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:35:30 -04:00
Ian Walls c376fd5491 Bug 6305: receiving serials does not create items
Template::Toolkit variable scope issue.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:35:20 -04:00
Katrin Fischer 25624bdea2 Bug 6305: Copy enumchron into created serial item
Should work for normal and supplemental issues.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:35:08 -04:00
Katrin Fischer e0ce87ebaa Bug 6305: Subscriptions can not be edited
This seems to fix the problem with editing existing subscriptions. Please test.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:34:55 -04:00
Chris Cormack 2cea53ba4b Bug 6350 Updating history
(cherry picked from commit 1209d9774d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:34:39 -04:00
JAMES Mason 83560c52e5 Bug 6411 add another example to README.robots
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 2e8fe364cb)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:32:31 -04:00
Janusz Kaczmarek 1192f869b4 Bug 6470 - Unable to filter out log entries for kohaadmin (user 0)
Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit e653e8ce0b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:31:54 -04:00
Jesse Weaver 377c84d7b1 Bug 6492 - Deleted biblios cause rebuild_zebra to fail
This both adds a bit of a failsafe to get_raw_biblio, and prevents
records that have been deleted from being updated by the same instance
of rebuild_zebra.

Minor amendment to remove duplication of 6433

Signed-off-by: MJ Ray <mjr@phonecoop.coop>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 048c0dc04e)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:31:36 -04:00
Chris Nighswonger 1ea00e655f Bug 5379 - import_borrowers.pl fails with db insert/update errors
Some spreadsheet programs use smart quotes which causes the db to throw
an error when an insert/update is attempted due to improper processing
of the CSV file. This patch adds code to check for smart quotes and change
them to "dumb" quotes.

This patch also adds more logging of errors and a notice to the user to check
the logs for errors when they occur.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit ae48ebbcaa)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:31:23 -04:00
Owen Leonard 99728ab883 Fix for Bug 6543 - Column hiding on batch item edit/delete not working
T:T variable name problem.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:31:06 -04:00
Frère Sébastien Marie 008a52eece Bug 6549 : sco-main.pl: Parentheses missing around "my" list
Signed-off-by: Frère Sébastien Marie <semarie-koha@latrappe.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 8ad4fa34c1)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:30:54 -04:00
Magnus Enger 55761c4e9b Bug 6450 - No check in/check out messages in message_queue
Huge thanks to Katrin Fischer for spotting what was the trouble here!

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-07-10 14:30:38 -04:00