Commit Graph

12860 Commits

Author SHA1 Message Date
Chris Cormack 0c507b2eb3 Bug 4473: Making a change to TmplTokenizer.pm to stop translation error
(cherry picked from commit f5e65148ac)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:19:43 -05:00
Liz Rea df31659c2a Bug 5143: Help file revisions per Owen Leonard
Nice changes, thanks. :)

LR

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:19:15 -05:00
Amit Gupta 9f8722d8f2 Bug 5489: Send hold email to branch email address if it exists instead of koha email address
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 21cae2609d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:18:15 -05:00
Owen Leonard db26c21e11 Fix for Bug 3262 - OPAC needs syspref to show homebranch on detail page
Revised version of Liz Rea's fix adding homebranch by default. This
revision displays the homebranch name instead of branchcode.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:46 -05:00
Frédéric Demians 8bd49794a9 Bug 5446 Fix a bug introduces by previous patch
When AcqCreateItem was set to 'cataloguing' there was no items fields in the
acq web form to validate in JS...

Alert commented.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 9a048e2b12)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:06 -05:00
Colin Campbell be38fadf15 Bug 4286 Allow receiving if subscription enddate not set
HasSubscriptionExpired is not a boolean return it may also
return that a valid subscription enddate is not set
This should not block receipting of issues

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:06 -05:00
Owen Leonard 908a023fce Fix for Bug 5518 - Add to shelf icon doesn't appear in OPAC results page
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 276e1c3430)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:05 -05:00
Owen Leonard 984a6e62b8 Follow-up patch for Bug 4908, show patron's home library in OPAC
Adding home library to list of details when OPACPatronDetails pref
is set to "don't allow"

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:05 -05:00
Owen Leonard 3443cd38f0 Fix for Bug 5470 - improvements to results display in the staff client
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit be70444f68)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:05 -05:00
Robin Sheat 2ed66165bf bug4891 - sort facets in search sidebar (OPAC and staff client)
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 13bc505c5f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:05 -05:00
Owen Leonard c7b13ef0e4 Fix for Bug 3987 - New Sys Prefs Branch - Alphabetize prefs in sections
Adding jquery tablesorter, sorting on sys pref variable by default

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:04 -05:00
Srdjan Jankovic c705c3f61c Bug 5510: prepend output with system name
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 1c86e93cec)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:04 -05:00
Serhij Dubyk {Сергій Дубик} 4ef03eb5b5 Deleted old sample budget sql-data for Ukrainian and Russian
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit bd8f379d70)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:04 -05:00
Owen Leonard eda5105edf Fix for Bug 4997, More searches menu not on OPAC MARC and ISBD detail pages
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 402240bbe2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:03 -05:00
Owen Leonard 7bd9e223e9 Fix for Bug 4946 - hold warning needs rewording
This patch improves the phrasing of several messages by
breaking the message variable into distinct parts for more
natural-sounding warnings when:

- Checking out an item on hold for another patron
- Checking out an item which is waiting for another patron
- Checking out an item which is checked out to another patron
- Checking out an item which is checked out to this patron
- Checking out to a patron who has too many checked out

I would appreciate special attention to my changes to the
TooMany function in Circulation.pm to make sure I handled
it correctly.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:03 -05:00
Owen Leonard 31548e0f62 Fix for Bug 3859, Attach item clarification
- Modifies hint text
- Adds handling for BiblioDefaultView preference
- Markup and CSS tweaks

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:03 -05:00
Srdjan Jankovic f491326296 Bug 5294 - Unescape vendor name when pushing back
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 750a8a8dae)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:17:03 -05:00
Galen Charlton a9c98acac7 bug 5398: make additional pages in staff interface obey noItemTypeImages
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0560aa768c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:04:58 -05:00
Nicole Engard 2202f1b6b9 bug 4826 change 'add basket' to 'new basket'
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 07834371f2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:04:33 -05:00
Chris Nighswonger eac7c17e9f Updating Version Number to 3.02.02.00
Updating version number for 3.2.2 release.
2010-12-21 18:58:29 -05:00
Frédéric Demians 403eea2c1c Bug 5506 Shorten .po file comment lines
In opac/staff templates .po files, we have comment lines contextualizing
extracted text in templates. Path to template are absolute. For example, we can
have:

  #: /home/katrin/kohaclone/koha-tmpl/intranet-tmpl/prog/en/...
     modules/cataloguing/addbiblio.tmpl:585

The first part of the pathname is useless. With this patch, we just keep
relative path to tempalte from Koha template main directory. The above example
becomes:

  #: intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl:585

To be applied on [3.2]

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-21 17:02:37 -05:00
Chris Cormack 228695c7fe Bug 5331, fixing Italian sysprefs.sql
(cherry picked from commit 2814b535e6)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-21 17:02:14 -05:00
Chris Cormack f45a91e66c Bug 5531: Fixing german sysprefs file
(cherry picked from commit e20895a9a7)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-21 17:01:57 -05:00
Nicole Engard efa0c8ccbe bug 5035 remove default opaccolorstylesheet value for new installs
Per the bug, the color.css file is blank and so this preference
should have no value by default. This patch only fixes this for
new installs. There is no way to know if people have added values
to the color.css file in existing installs, so removing that value
in those cases might break things.

This patch does not remove the blank color.css file, it only
edits the default system preference.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit a45eb8fb78)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-21 17:01:28 -05:00
Chris Nighswonger 0ad09b73b7 Adding Translations Updated to Release Notes for 3.02.02.000 2010-12-21 17:00:45 -05:00
Frédéric Demians 002230d538 Updated .po files for 3.2.2 inclusion
(cherry picked from commit 072f03b2c1399d559c45d89218b68150d71f02d2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-21 14:51:13 -05:00
Chris Nighswonger f3b095a360 Beginning of Release Notes for 3.02.02.000 2010-12-20 22:57:23 -05:00
Katrin Fischer 51e1da1224 Bug 2965: Follow up - fixing problem with barcode field
The scanned barcode stayed in the checkout field instead of being
deleted after checkout or confirmation.

This patch reverts the template change, so the barcode is deleted.

Please test!

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-20 20:24:45 -05:00
Jesse Weaver 91161f190d Add .packages file for Ubuntu 10.10
Ubuntu 10.10 has all of Koha's Perl dependencies packaged (aside from a
couple small version issues); add a dpkg --set-selections compatible
file to reflect that.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-20 20:20:13 -05:00
Frédéric Demians 9c1fa4581c Bug 5506 Improve translation script
[1] Update all .po files in once with this command:

    translate update

[2] For sysprefs, quoted text wasn't properly retrieved from .po file and so
    quoted strings wasn't translatable.

[3] The install process (translate -p install de-DE) was rewriting syspref
    .po file which isn't required anymore.

MUST be applied to [3.2] to get all syspref proper translation.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-19 14:50:29 -05:00
Chris Cormack 92070b3039 Fix for 5143, now with IE debug removed
Need to set up keyword to marc mappings for subtitle, parts, numbers for this to work

adds:
 - the subtitles into the title link (originally Chris Cormack)
 - barcodes for every listed hold
 - denoted which items were only item and which could be filled by any item on that bib.
 - added id's to every column for ease of jquery suppression of data (example: publication data or patron column could be suppressed)

[EDIT]: Added missing template variable
[EDIT]: Converted table cell IDs to classes. Having multiple identical IDs is invalid.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:48:50 -05:00
Jane Wagner d19300432f Bug 3789 Set off shelving location in staff and OPAC title display
Koha puts the shelving location immediately after the library name in the
"Location" column of the title display.  If the library name and/or shelving
location is wordy, the two can run together and a user can overlook the
shelving location.  I've added a new span class to the staff and OPAC .css
files and applied it to shelving location in both templates.  This puts the
shelving location on a separate line and in italics, to make it stand out from
the library name.

[Edit] Re-implemented some changes which wouldn't merge after so long

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:48:32 -05:00
Garry Collum 106725c45d Bug 4937: Fixes XHTML in the pagination links of a saved report.
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0fc7e5bfdc)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:47:08 -05:00
Nicole Engard a9b88549db bug 4977 add missing order links to 'no results found' page
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 5c8ca5129c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:46:53 -05:00
Chris Cormack 93800bf6fd Revert "Ergonomy improvement in smart rule management"
This reverts commit fefd158f42.

This was causing quite major errors, read the details at bug 5496
(cherry picked from commit 3705965cd7)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:46:32 -05:00
Owen Leonard 335fbe5da7 Alternate fix for Bug 2981, removing onclick redirect
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c4ea43f3db)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:45:52 -05:00
Robin Sheat 0e08862064 bug 5033: Add a reference to xml_sax to the Makefile.PL
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 9c8f934a2c)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:44:58 -05:00
Chris Cormack 54fb32b521 Fix for intranet-tmpl had one /TMPL_IF to many
(cherry picked from commit e83beb0482)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:44:42 -05:00
Ian Walls a39f706f09 Fixes bug 5125: Default focus on circulation-home page
Fix created by Owen Leonard, related over IRC chat (rather than a patch file).

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:44:28 -05:00
Owen Leonard fb468b5629 Possible fix for Bug 2307, Calendar widget cannot be translated
This patch copies the calendar's language strings from a stand-
alone javascript file into calendar.inc where they can be
translated along with other strings.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:44:12 -05:00
Katrin Fischer 253ddbc50a Bug 2965: Allow due date in the past - small template fix
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 872529cb11)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:43:45 -05:00
Robin Sheat d39aef7de1 Bug 5084 - hide funds that are part of an inactive budget
Prevents inactive funds from showing in the aquisitions module, they
still show in the administration.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:40:46 -05:00
Srdjan Jankovic 0b32d910d7 Bug 2965: Allow due date in the past
Raise warning rather than disallowing
Remove due date js validation when checking out

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixed small error in circulation.tmpl
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 4d1762f5ec)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:40:30 -05:00
Owen Leonard 3c5b2bef89 Fix for Bug 5000, Uncertain prices misses option to choose display language
- Adding missing footer include for language chooser
- Correcting markup and structure errors

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:40:09 -05:00
Colin Campbell 08c2668ee2 Variable redeclared in same scope
lexical variable declared twice causing run time warnings

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:39:52 -05:00
Nicole Engard 59814b0cec bug 5255 change 'document type' to 'item type'
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 40e2b5421a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:39:36 -05:00
Nicole Engard 8dab9b4771 bug 4252 add authorites permission to menus
Added to more menu and to the main intranet page

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:39:14 -05:00
Colin Campbell a7ed940172 Bug 2170 Supplementary Fix Wrap link in permissions check
Found an edit item link not subject to edit_items permission check

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:38:57 -05:00
Owen Leonard 4da3829b0d Updated fix for Bug 2170, Adding 'edititems' user-permission
This patch follows up on the addition of the 'edititems'
permission by adding a check of the new permission to places
in the interface which link to the edit item screen.

The catalogue toolbar had to be extensively re-worked in
order to ensure that the "New" and "Edit" menus would appear
(or not) whether or not edit_catalogue, edit_items, or
create_subscription permissions are on.

Revised for current HEAD

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:37:23 -05:00
Chris Cormack 2e9910ce67 Bug 5484 - Handling bad borrower categories in serial routing lists more gracefully
Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 96330a7b07)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-14 21:37:04 -05:00