Commit Graph

15087 Commits

Author SHA1 Message Date
Brendan eb4d2a19d1 Bug 7215 - changed callnumber PRESET field to itemcallnumber
Fixes problem with creating new labels - before it populated with callnumber and not itemcallnumber

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit b255d091fd)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-13 09:35:30 -05:00
Katrin Fischer 8a6fdae865 Bug 7082: Template improvements for better translatability
Problem:
/cgi-bin/koha/admin/aqbudgets.pl
<label for="show_mine">Show my<br /> funds only</label>

This gets broken into 2 strings for translation which makes it very hard for
translators to make sense of it.
Patch removes the line break.

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
This patch removes the linebreak and has no ill effects that I can see, even
on a small screen. I'll attach before and after screenshots in Bugzilla.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 57800f2af2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-13 09:30:09 -05:00
Galen Charlton fbe94b0314 bug 7198: show patron name in overdue list even if name column is null
If the surname or firstname of a patron is NULL, the MySQL concat()
function (properly) returns NULL, leading to the patron name not
displaying in the overdue report.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 18e06ecf0b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-13 09:09:50 -05:00
Liz Rea 3af67c1df4 Bug 7159 - Add branchcode to circulation.pl search (take two, revising with Owen's suggestion)
I know there's talk of getting rid of this patron search method, but I had a
request for this and so here it is.

To test:
verify that branchcode is displayed on patron search results from
circulation.pl.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 4fad65cc26)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-13 09:09:27 -05:00
Owen Leonard 43733e7e64 Fix for Bug 7124 - back to search wrapping in lower resolutions
Maybe not a complete fix, but hopefully an improvement. I couldn't
prevent it from wrapping at smaller browser widths, but I was
able to change the style so that when it does wrap it's a little
more readable.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit a98219dc34)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-13 09:08:57 -05:00
Frère Sébastien Marie a94573f58d Bug 7316 - Missing escaping in search results
Two parameters are now escaped in title (html element):
 - query_desc
 - limit_desc

This is a security correction against XSS.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 48173560ba)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-09 10:10:39 -05:00
Owen Leonard d9d9cdbad0 Fix for Bug 6818 - acquisitions basket groups could use some design work
I've made changes to the basket grouping interface to bring it
in line with other interfaces in Koha. I think it's better to
keep things following a consistent pattern.

On the page which lists basket groups:

- Basket groups listed in a table instead of as custom-styled lists
- Buttons use standard style
- Tabs are generated by jQuery

On the page for managing baskets in a group:

- Markup has been revised to be more consistent with established
  patterns.
- Corrections have been made for validity

On the basket view page:

- Display of data has been streamlined a little bit
- An option has been added to the "Basket group" dropdown
  for adding a new group
- Markup has been corrected for validity and consistency

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
1) Basket group page
The blue is gone and the new buttons  are much better
readable than before.

2) Basket grouping page
Works.

3) Basket view page
I like the new option to create a new group from here.
Nice improvement to the workflow!
I removed a spare 'td' from line 264.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit c1dbd7bbbf)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-09 09:52:10 -05:00
Paul Poulain 92c5d9ade4 Bug 6679: fix missing use strict
The 3 files had use strict missing. The patch add the use strict and modify what's needed to work with it
4XX.pl also has some perlcritic fixes:
Variable declared in conditional statement at line XXX, column 9.  Declare variables outside of the condition.  (Severity: 5)

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-09 09:51:55 -05:00
Robin Sheat 8ff49436fa Bug 7028 - updated the koha-conf.xml template
Now it more closely matches the one that's distributed in /etc

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(not tested. I confirm the code is clean, and tests are not broken)
(cherry picked from commit 038a2cf5d6)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-09 09:51:27 -05:00
Chris Nighswonger 950924bc3e Release Notes for 3.06.02.000 08 Dec 2011 19:48:55 Z 2011-12-08 14:48:55 -05:00
Chris Cormack cbc13b7070 Bug 7141 : Changing test to match new formatting of xsl style sheet
http://bugs.koha-community.org/show_bug.cgi?id=7141
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
verified tests pass

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit ce59911932)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 14:46:32 -05:00
Chris Cormack 12ea57b606 Bug 6679 : Adding license statement and stopping declaring variables in a conditional
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 14:43:05 -05:00
Chris Cormack c5e6163efb Bug 6679 : cataloguing/ now passing critic tests
Declare variables outside of conditionals
Don't use prototypes http://www.modernperlbooks.com/mt/2009/08/the-problem-with-prototypes.html
Use ":encoding(UTF-8)" to get strict validation.

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 14:43:05 -05:00
Chris Cormack a8274cdfde Bug 6679: catalogue/ now passing perl critic tests
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 14:43:04 -05:00
Chris Cormack 9c3bbbea56 Bug 5604 : Follow up for missing image
When doing icons, there is a test for them please run

perl xt/author/icondirectories.t

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
see jenkins complaining: http://jenkins.koha-community.org/job/Koha_master/lastUnstableBuild/#showFailuresLink
(cherry picked from commit e615516952)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 13:56:00 -05:00
Chris Nighswonger 3ba8234c63 Release Notes for 3.06.02.000 08 Dec 2011 16:17:37 Z 2011-12-08 11:18:04 -05:00
Owen Leonard b99e530e1a Bug 7259 - Show a count of items pending approval on staff client home and tools pages
- Correcting permissions checks on the home page
- Adding default parameter (1)  to numberofreviews subroutine

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 8f0c10ef1b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 11:13:29 -05:00
Owen Leonard 93e5a0b292 Bug 7259 - Show a count of items pending approval on staff client home and tools pages
This patch adds count indicators on the staff client home page and
the tools page for the number of items pending approval. On the
home page this includes suggestions, comments, and tags. On the tools
page a count of pending comments and tags is shown.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Counts appear for all types of actionable items listed, all are clickable through to the proper place.

Nice work!
(cherry picked from commit d3c02c6bb6)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 11:13:29 -05:00
Katrin Fischer 87aa43162d Bug 7116: White space on item form for bulk ordering from staged file
Same fix that was done for normal order page and receive page.
Moving the style element for hiding the subfield into the li tag.

AcqCreateItem = on order

To recreate:
1) stage a marc file with 1 - many records
2) make sure you have an acq framework with hidden fields in 952
3) create new basket
4) order from your marc file
5) check item form below the record list for white space

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Followed the steps outlined by Katrin above. Before the patch there are gaping
holes left by the hidden fields. After the patch the holes are gone.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 5d6f770c18)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 11:13:16 -05:00
Jon Aker 9c5ba4fbe0 Bug 7020 Items with no checkouts report does not output call number, barcode or item details
When running the Items with no checkouts report and outputting to
screen, the results do not include any identifying information for
the items. The only information listed is the item count and the
branch location.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 11:13:10 -05:00
Colin Campbell 5bb0afe169 Bug 6987 Make return from Overdues::GetFine consistent
If there is not a fine amount return zero not
undefined or other undefined behaviour

Use more meaningful var names for readability

Signed-off-by: Sophie Meynieux <sophie.meynieux@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit d39262e61d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 11:13:08 -05:00
Chris Cormack ffe3972d5e Bug 6679 : Allowing eval require
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 7dbb966b49)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 11:06:44 -05:00
Paul Poulain bdfd09657e Jenkins complaining = fixing number of tests
(see jenkins build http://jenkins.koha-community.org/job/Koha_master/557/#showFailuresLink)
(cherry picked from commit e06f3ee0fa)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-08 11:05:18 -05:00
Chris Nighswonger a89471913e Release Notes for 3.06.02.000 07 Dec 2011 16:41:07 Z 2011-12-07 11:41:07 -05:00
Paul Poulain 2d2bfde559 t/UploadedFile, updated comment
(cherry picked from commit ffb544e8e4)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:36:03 -05:00
Paul Poulain 3150c23328 160th developer + 2 events added (NZ tm and 3.6.1 released)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:35:43 -05:00
Chris Cormack d2aec1a738 Bug 5327: Fixing the Members.t test
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Confirm Members.t tests complete
(cherry picked from commit 94e1691a74)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:34:10 -05:00
Chris Cormack 5efe1b117a Bug 5327 : Fixing unit test for SQLHelper.pm
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Confirm that all SQLHelper tests pass.
(cherry picked from commit dbe36a2bf3)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:34:09 -05:00
Chris Cormack a913e9d7b3 Bug 5327 : Complete coverage for BackgroundJob.pm
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tests run without problems.
(cherry picked from commit 19d071910f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:34:09 -05:00
Chris Cormack f8b401e723 Bug 5327 : Adding more unit tests
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
New tests run without problems.
(cherry picked from commit a9bbeae6cc)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:34:09 -05:00
Chris Hall ceff2d275f Bug 5327: Unit tests for C4/Exteral/BakerTaylor.pm
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 16c51d0376)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:34:08 -05:00
Paul Poulain 9939392c15 history.txt, adding Stéphane Delaune, as 117, moving others and welcome Albert, you're 163th !
(cherry picked from commit 046c1cab8c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:33:58 -05:00
Maxime Pelletier 37ed97bceb fix test xml records
http://bugs.koha-community.org/show_bug.cgi?id=5327
(cherry picked from commit d2c101a8a9)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:33:46 -05:00
Paul Poulain 03f6e33c4b Test suite: ignoring backups from vi (files ending with a ~)
On my laptop, this test was failing because some scripts had a conflict marker in a backup ... of a conflict I just fixed!
ignoring any file ending with a ~
(cherry picked from commit 13f29dd7f3)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:33:43 -05:00
Owen Leonard 26d79ec4f2 Bug 6291 - Cart printing truncated in Firefox
Alternate fix suggested by http://www.sidesofmarch.com/index.php/archive/2007/04/25/firefox-truncates-long-tables-when-printing/

Seems absurd that changing the top heading from an <h1> to an <h2>
would fix the problem, but it does in my tests in Firefox 3.6 and 8
on Windows 7
(cherry picked from commit b03cb0d545)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:33:25 -05:00
Jared Camins-Esakov fbc9e6f863 Bug 6971: XSLT Intranet Detail displays 245 subfields out of order
245 Subfields in the Intranet Detail Display (MARC21slim2intranetDetail.xsl) are
being reordered on display. Instead of displaying 245$a 245$h 245$b, the
stylesheet was displaying 245$a 245$b 245$h. This patch does not address ISBD
punctuation.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Follow-up patch to address the issue in the staff client.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:33:10 -05:00
Albert Oller c28923b040 Bug 6971: XSLT Opac Detail displays 245 subfields out of order.
245 Subfields in the OPAC Detail Display (MARC21slim2OPACDetail.xsl) are being
reordered on display. Instead of displaying 245$a 245$h 245$b, the stylesheet
was displaying 245$a 245$b 245$h. This patch does not address ISBD punctuation.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Clarified commit message.
(cherry picked from commit d71e696567)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-07 11:33:10 -05:00
Owen Leonard 4d1809334d Fix for Bug 5974 - Bogus auth check for "StaffMember" role
Also removing some YAHOO.widget.Button declarations which
are redundant.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

follow-up: trailing " that makes T::T fail

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

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Bug 5974: Fix broken toolbar on paton checkout tab

Fixed a couple of errors:
- [% CAN_user_staffaccess %] should be [% IF ( CAN_user_staffaccess ) %]
- added missing [% END %]
- added missing line new YAHOO.widget.Button("duplicate");

To test:
1) Open patron account
2) Go through tabs, especially 'Check out'
3) Check toolbars are correct and buttons work

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-06 21:02:33 -05:00
Chris Nighswonger 83f87a9d9b Release Notes for 3.06.02.000 06 Dec 2011 23:44:14 Z 2011-12-06 18:44:14 -05:00
Paul Poulain 10b293716b Adding Adrien Saurat as 161th committer.
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-06 18:44:06 -05:00
Adrien Saurat 6cccc60aa5 Bug 6893 : Updates suggestions list when adding orders
A suggestion added through addorder.pl now changes
to the ORDERED status as initially intended (but so
far it stayed as ACCEPTED).

This fixes the list of potential suggestions to order,
the ORDERED ones don't appear anymore.

Bug 6893 : Follow-up: Disabled WHERE clause excluding ORDERED status

In SearchSuggestions, a WHERE clause was excluding the ORDERED
suggestions from the results. Now replaced with 1=1.

(before 6893 correction, the WHERE clause was excluding the
STATUS='CLAIMED' suggestions, but this status cannot be found anywhere
else in the code... so I changed to STATUS='ORDERED' which
seemed more accurate, but it had impacts on OPAC and some Admin tabs)

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Both patches applied cleanly, sqashed them together after testing.

Tested:
1) Creating new suggestions
- from OPAC, shows up in patron account as 'requested', pending in staff
- from staff, shows up in list of pending suggestions
Status in database is ASKED

Note: suggestions made from staff for the same patron have suggestedby = 0
in the database, so are not showing up in the patron account. Is this by
intention? (if not, I think this is a separate bug)

2) Accepting suggestions
- from list
- from edit page
Status in database is ACCEPTED
Patron account shows 'Accepted by the library (Bestseller)'

Note: after changing the status from the list, bug 4068 kicks in and
some tabs and even suggestions are hidden. Going back to the acq start
page and going back to the suggestions page from there helps.

3) Rejecting suggestions
- from list
- from edit page
Status in database is REJECTED
Patron account in OPAC shows 'Suggestion declined'

Note: bug 4068 again.

4) Ordering from suggestions
- new basket
- ordered 2 accepted suggestions
SUCCESS! Great improvement:
- Status in database is now ORDERED
- Already ordered suggestions no longer show up on list of
  suggestions to order from.
- Patron account shows 'Ordered by the library (Bestseller)'
- Suggestion management page shows a new tab 'Ordered'
- For the suggestion with a valid 'suggestedby' borrowernumber,
  a mail was generated. (bug 7094)

5) Receive ordered suggestions
- received my ordered suggestions
This is is not in the scope of this bug, but for documentation:
- No message was generated to inform the patron
- Status stays ORDERED
- Patron account still shows item as ordered, no change to 4)

Looking at the suggestion.tt I think there should be another status
AVAILABLE.
216     [% ELSIF (suggestion.suggestiontypelabel == "Available") %]Available

Signing off, fixes bug reported. Danke!

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 28ef6c199b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-06 18:42:24 -05:00
Mason James 7ea9df413a Bug 6908 - increase DEBUG level for *NOISY* Dates.pm init() messages
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 924ce3697d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-06 18:42:19 -05:00
Chris Nighswonger 20fcd965a9 Release Notes for 3.06.02.000 06 Dec 2011 19:23:39 Z 2011-12-06 14:23:39 -05:00
Adrien Saurat d03cba1f2c Bug 4051: adds issuedate column to overdues export
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit d4f4f88369)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-06 14:11:28 -05:00
Owen Leonard c7624cee5e Bug 3385 - Add checkout date and renewal date to display list of checked out items
This patch doesn't fix the origial request to add the renewal date
to the list of checked out items, but follows the other bug commenter's
suggestion that the information be added to the item details page
(moredetail.pl).

The other part of this request, to add the checkout date, has already
been fixed by another patch.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-06 14:11:19 -05:00
Alex Arnaud 636391bdf7 bug/7285 Use C4::Auth::checkpw instead of checkpw only
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 46831f8086)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-06 14:11:02 -05:00
Chris Nighswonger 9b362026ec Fixing typo in image filename which introduced a space causing problems on win32
http://bugs.koha-community.org/show_bug.cgi?id=5604
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit fa0bc2b08d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-06 14:10:48 -05:00
Dobrica Pavlinusic caf31bb5dd Bug 6022: Auth_with_ldap check if categorycode is valid
When importing users from LDAP, Auth_with_ldap.pm doesn't check if value for
categorycode is present in categories table in Koha resulting in referential
integrity error instead of using default value from koha-conf.xml

Test scenario:
1. enable LDAP in koha-conf.xml using <useldapserver>1</useldapserver>
   and add <ldapserver> configuration with
   <categorycode is="SomeLDAPField">DefaultCategoryCode</categorycode>
2. select/create LDAP user with category in SomeLDAPField which isn't in
   Koha
3. try logging in and ensure that assigned category to new user is
   DefaultCategoryCode

Signed-off-by: Marijana Glavica <mglavica@ffzg.hr>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 0352a8f24a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-06 14:10:33 -05:00
Katrin Fischer d9d0e0a5c8 Bug 6530: Item Due notice label displaying as 'unknown'
Some of the translated sql files still had 'Item_DUE' instead
of 'Item_Due' causing the staff interface to display 'unknown'
instead of the correct description.

To test:
- Do a new installation, using German, French, Polish, Russian or Ukrainian sample files.
- Actived EnhancedMessagingPreferences
- Create a new patron category and check message descriptions display correctly

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-06 14:10:29 -05:00
Owen Leonard cccdb7c22b Bug 7225 - "Delete all items" should be greyed out when a title has no items
This patch changes the catalog toolbar so that when there are no
items attached to a record the "Delete all items" menu item appears
to be disabled. Clicking it will trigger an alert, "This record
has no items."

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-12-06 14:10:27 -05:00