Commit Graph

12908 Commits

Author SHA1 Message Date
Chris Cormack 7cce63ff7b Adding new developers to the history
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-12 13:43:57 -05:00
Colin Campbell 3a7c8426c0 Bug 5611 Tidy up C4::Scrubber
Remove the unneeded package variables
Remove unnecessary variables
Removed some cargo-cult programming
Tidied the indentation from mix of tabs & spaces
Add a Test that we actually return the required class
of object

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-12 13:42:21 -05:00
Bryce Sanchez a5ea4eb39f Bug 5611 INIT block causes failure with mod perl
Per module INIT Blocks are not run in mod_perl so their
variables are not visible. A lexical var is adequate
for this purpose

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-12 13:42:21 -05:00
Colin Campbell 8beda6cfca Bug 5601 :: Add tests for bugfix
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 0d5029ec5b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-12 13:42:20 -05:00
Colin Campbell 85943480d3 Bug 5601 Fix processing of DueDate return
item duedate is not a datetime entity but a string retrieved
direct from the db that only needs restructuring
checkout was doing so but item_info was pretending it was in secs
(actually Item.pm manipulated then overwrote it!!)
assume the date in the db is correct (otherwise madness ensues)
dont try to second guess it
As duedates do not yet include a time element assume end of day
as a safety first

[F. Demians] I confirm Joe Atzberger diagnostic. That's a bug reported by a
library. I've tested Colin Campell solution. It fixes the bug.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-12 13:42:20 -05:00
Magnus Enger 9f40dccb22 Bug 5055 Use standard file paths in crontab.example
This is a revised patch, removing the lines pertaining to logrotate.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-11 18:42:23 -05:00
Nicole Engard e18b603aaf bug 4131 have subscription so edit routing if one exists
Changes the template variable checked in serials-menu.inc for determining where to
show 'Create Routing List' or 'Edit Routing List' to hasRouting.

Also adds the $hasRouting variable to serials/routing.pl and serials/routing-preview.pl,
for completeness.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-11 18:33:26 -05:00
Nicole Engard 0e6fe96cc8 bug 5486 remove note about HomeOrHoldingBranch being removed soon
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 50694f3959)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-11 18:16:34 -05:00
Ian Walls 6d2e0ded41 Bug 5603: advance_notice.pl uninitialized element in hash
Changings one of the LEFT JOINS in C4::Members::Messaging::GetMessagingPreferences
to a JOIN to prevent NULL message_transport_types from being returned

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-11 18:16:32 -05:00
Nicole Engard bafc7217a8 bug 5492 update import patrons page title
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 4173f2221f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-11 09:41:23 -05:00
Nicole Engard 52a7c1bd12 bug 5604 additional icons in the Seshat icon set
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit d1ef831360)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-11 09:41:05 -05:00
Owen Leonard 1dbe1684c6 Fix for Bug 4945 - Patron search is limited by default to the currently logged-in library
I couldn't figure out how (or whether) GetBranchesLoop could be
convinced to return a list of branches without selecting one, so
I swapped GetBranchesLoop with GetBranches. This will preselect
a branch only if a branch has been submitted as part of a query.

This does NOT preselect the correct branch when IndependantBranches
is turned on.

I also added a template variable which is true if a query has
been submitted with a branch or a category so that the extra
form fields can be displayed, reminding the user that they
added limiters to their query.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-11 09:40:47 -05:00
Nahuel ANGELINETTI 64831933b2 (bug #3737) fix title search in order history
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 15334926ad)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-10 15:06:06 -05:00
Colin Campbell e31e7d7804 Bug 5589: Remove duplicated Exports in Suggestions.pm
Rather bizarrely Suggestions.pm was setting up @EXPORT, @ISA
and $VERSION twice. Have removed one invocation

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-10 14:44:22 -05:00
Owen Leonard 77c9df5ce7 Fix for Bug 4984, Invalid XHTML in staff client search results
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 1b344bdbd1)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-10 14:44:05 -05:00
Owen Leonard 4d78b75172 Additional fix for Bug 3550, Use GetRecordValue to get the subtitle
- Adding subtitle to Hold Ratio report output
- Sorting by default on ratio, descending
- Adding author
- Removing description

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-10 14:43:42 -05:00
Owen Leonard 78c4376b3e Follow up on fix for Bug 5570, item types not showing on other editions
Fix for the staff client.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-10 14:42:41 -05:00
Owen Leonard d9cb386135 Fix for Bug 5570 - item types not showing on other editions
The item type which shows on other editions is the biblio-level
itemtype. XISBN.pm had some item-handling code, but I'm
removing it because it is unused. The editions tab should
now display item type only if item-level itemtypes are not
enabled.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-10 14:42:15 -05:00
Frédéric Demians 7a458e5242 Bug 5480 Some usual UNIMARC cataloguing plugins doesn't work anymore
[3.2] To be applied

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-08 13:48:58 -05:00
Colin Campbell aab10c2dc1 Bug 5583 Rename fieldnumber to blocknumber
Variable fieldnumber does not refer to a field
It is the ISBD block number
Rename to blocknumber
Say what we mean adds to maintainability

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-06 15:49:57 -05:00
Colin Campbell a68ac75c55 Bug 5582 Pass tag nums as a string to Doc Popup
Add quotes around tag number when calling doc popup
Otherwise numbers with leading zeroes are interpreted
as octal e.g. 020 returns doc for 016

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-06 15:49:37 -05:00
Galen Charlton 11a489c800 bug 5585: fix display of current date on receipts and slips
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 80641597e5)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-06 15:49:22 -05:00
Chris Nighswonger 48fa2dbea4 Removing OPACNoResultsFound Enhancement Syspref
This pref was accidentally added during non-English syspref updates.
It is properly a part of enh bug 1997 which will not be included in
the 3.2.x branch.
2011-01-06 14:24:30 -05:00
Owen Leonard 54aedd795a Fix for Bug 3347 - Inconsistencies with tables in opac-shelves.tmpl
Changes to list contents view to make it consistent with search results

My intention is to make the OPAC more consistent in the way it displays
lists of items, whether it be in search results, lists, etc. This patch
adds data to the list contents output and reformats it to that end.

The other significant change is the removal of jQuery table sorting.
Since list contents are both sorted and paginated on the server
side. Adding a client-side sort to one page of many doesn't make sense.

Other changes include:

- Change "Your lists" to "Your private lists"
- Remove "sort by" column because it seems unnecessary
- Adding logic to control display of count (item or items
  rather than item(s)
- Styling pagination bar and placing at the bottom of the page,
  consistent with other instances of pagination navigation

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-06 14:12:57 -05:00
Owen Leonard 2e6afe34af Fix for Bug 4950 - checkbox should be removed when can't place a hold
- Hiding form controls for titles which can't be placed on hold
- Highlighting hold blocked message for better visibility
- Showing table of blocked holds even if none can be placed on
  hold: hiding the table hides the messages explaining why
  titles can't be placed on hold
- Removing an unused line from the script which was leaving errors
  in the error log
- Consolidating error messages into one box which were displaying
  in two.
- Correcting link to unused opac-userdetails.pl

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-06 13:54:01 -05:00
Owen Leonard e6ac25ea06 Fix for Bug 5571 - tags as bulleted list too long
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-06 13:53:53 -05:00
Nicole Engard 9260bbe991 bug 5419: make reason checkouts blocked stand out
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit f379638c9d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-04 15:27:43 -05:00
Galen Charlton 7779896064 bug 5497: make all library fields available to circ receipt/slips
This allows the receipt template to be more readily customized
to include the library's address, phone number, email address, etc.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 4daef50c7a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-04 15:15:16 -05:00
Owen Leonard 67a8a5301e Fix for Bug 3918 - Add to order lists inconsistent
- Added new include to contain add to basket options
- Minor markup corrections

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-04 15:14:58 -05:00
Marcel de Rooy f444490cc2 Bug 5375 (Update date/time last transaction (MARC 005) when saving authority record)
Update 005 date/time when saving authority record for MARC21 and UNIMARC.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-04 15:14:42 -05:00
Marcel de Rooy 68e8f0937f Bug 5374 (update transaction date when saving biblio) RESENT with small fix
Currently, the plugin marc21_field_005 and its unimarc opponent fill field 005
when this field gets focus. This implies that updating a record without
touching this field does not update 005.
At the same time, a user could accidentally delete a character in the 005 when
having focus. This mutilated field value will be saved however.

I would suggest to add a few lines to ModBiblioMarc in Biblio.pm to ascertain
that adding or updating a record always updates 005 in marc21 as well as
unimarc.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-04 15:14:27 -05:00
Nicole Engard 0a2c78a803 bug 5562 change 'issues' to read 'checkouts'
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit c71a36fd27)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-03 12:27:24 -05:00
Nicole Engard 8c39ecf65e bug 5563 change note about cover images on enhanced content
on the enhanced content tab of system
preferences it says that Koha will pick
the first cover image - but in fact it
shows them all - that note needs to be
updated to properly warn of the expected
behavior.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 606f978419)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-03 12:27:08 -05:00
Owen Leonard b7b1b292ad Reimplemented fix for bug 5556, OPAC does not display the type of authority
Formatting Janusz's suggested changes as a patch.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-03 12:26:53 -05:00
Owen Leonard ece67a57d5 Reimplement fix for bug 5557 - Link to logs for user with view_system_logs permission
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 6a61750bf0)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-03 12:26:36 -05:00
Chris Nighswonger a92dae3cc7 Updating Version Number to 3.02.02.001 2011-01-03 12:25:30 -05:00
Nicole Engard c002a76cd0 bug 5040 fix misspelling of distance in marc21 framework
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-03 12:24:44 -05:00
Robin Sheat 358e6cd545 bug 4942 - add validation to patron administration
This validation requires an enrollment period or a date to be provided
before the form will save, which will prevent invalid dates getting into
the system.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-03 12:22:53 -05:00
Robin Sheat 809b24e48c bug 5045 - Help works even when the referrer is being stripped
This fix puts the URL of the source page as a parameter to help.pl,
which will override the referrer value, if it's provided. This deals
with people sitting behind proxies that strip the referrer information
out.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-03 12:22:28 -05:00
Robin Sheat b8c43d7250 Bug 5550 - correct filename referenced in docs
Spotted by Reed Wade.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-03 12:20:21 -05:00
Chris Cormack f54689f729 Bug 5526: Follow up patch removing a warn statement
(cherry picked from commit c5b55d1c40)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-03 12:20:03 -05:00
Owen Leonard 2c4a71b4cc Fix for Bug 5526, List of lists should be in alphabetical order by list name
Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit cdbf872bd5)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-03 12:19:52 -05:00
Chris Cormack 78326694fe Bug 5542: Availability code commented out - Uncommenting
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 79fb4a8134)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-01-03 12:18:50 -05:00
Owen Leonard 819b5fc308 Fix for bug 5451, can add tags with userlogin turned off
Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>

(Corrected to apply to 3.2.x)
2010-12-23 23:36:01 -05:00
Chris Cormack e298b5e3be Bug 5531: adding some missing sysprefs
(cherry picked from commit 2124887428)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:24:19 -05:00
Chris Cormack 92adf8d040 Bug 5531: Updated Polish, Ukranian and Russian syspref files
Retrieved from
http://git.koha-community.org/gitweb/?p=wip/koha-chris_n.git;a=commit;h=f23969c7e1cb87d4bd9552e3d6bc85cc948dedd9
(cherry picked from commit 0482e53451)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:24:19 -05:00
Chris Cormack fe4ed2507c Bug 5531: further fix for fr-FR files
(cherry picked from commit c9db18bf0b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:24:19 -05:00
Henri-Damien LAURENT e173f2ba89 Based on Chris Nighswonger french unimarc_standard_sysprefs.sql
(cherry picked from commit 409dcdfe6a)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2010-12-23 23:23:35 -05:00
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