Commit graph

8656 commits

Author SHA1 Message Date
Jesse Weaver
1157ed9457 fix for bug 1551: Renewing doesn't move item...
This makes C4::Circulation::AddRenewal update lastreneweddate, then has circulation.pl check today's date against issuedate or lastreneweddate. It also cl
eans up a little parenthesis spacing.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-16 18:26:16 -05:00
Jesse Weaver
0532b7deab fix for bug 2348: Cannot change patron category
This makes the code that generates the category code list loop through all six category types.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-16 18:26:13 -05:00
Andrew Moore
4e1cc6f14b bug 2274: adding libmime-lite-perl (MIME::Lite) to list of required debian packages
MIME::Lite is now a required perl module. The libmime-lite-perl debian package provides it.
Thanks to Zeno Tajoli for pointing out the omission.
http://markmail.org/message/np3m2zkafr2togez

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-15 09:58:38 -05:00
Ryan Higgins
0bb91c1624 Bug 2351 : Receive acqui order was not incrementing loop counter when saving multiple items.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-15 09:58:36 -05:00
Jesse Weaver
da3b0a48e9 fix "Add Tag" button in MARC framework editor
This is part of bug 2282. This patch also improves the "Delete Tag" button so it brings you back to where you were.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 20:10:09 -05:00
Jesse Weaver
19b46abad1 fix number two for 2181: Late Items in Red
This new patch uses faster Perl string comparison when comparing dates for overdue checking.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 20:10:08 -05:00
Jesse Weaver
bf4a39d7ce new script to fix date code in accountlines
misc/maintenance/fix_accountlines_date.pl runs through the accountlines table and converts every date in the 'description' column from us or metric format (specified on the command line) to the format in the 'dateformat' syspref.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 20:10:05 -05:00
Jesse Weaver
3b6e8cbc53 fix for 2177: Barcode on checkout slip
This patch adds barcodes to the Checkouts and Overdues section of the receipt. It also removes the Overdues section if it is empty.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 20:10:03 -05:00
Ricardo Dias Marques
ae1f9b82eb Updated INSTALL.opensuse to install yaz
Changelog:
- Added step to install the yaz package. Thanks to Bob Ewart for catching this.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 20:02:14 -05:00
350b9dd3af Allowing people to search on all itemtypes when adding a serial subscription, workaround for the fact you cant limit by itemtype
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 20:02:13 -05:00
68297d9480 Fix to the Carp handling when we have a fatal cant connect to the database error
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 20:02:12 -05:00
Joshua Ferraro
dd47f7bf7c Fix for bug 2191: Subfield $n (Suppress in OPAC) has no effect on OPAC
Adding missing OpacSuppression syspref
2008-07-14 14:51:07 -05:00
Andrew Moore
5834de1419 bug 2347 [2/2]: database chagnes (adds to version 098)
I'm removing RSS from the message_transports table now. I forgot that before.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 14:10:36 -05:00
Andrew Moore
f646ee277c bug 2347 [1/2]: removing RSS from optional and mandatory sql scripts
The RSS message_transport_type was recently removed (until we get it implemented). It
is now being removed from the other tables that reference it.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 14:10:34 -05:00
Joe Atzberger
17fcb7c78a Barcodes test - make DB-dependent feedback a diag (not a test).
I also added a SKIP block in case of constructor failure and improved
the layout of existing diag lines.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 14:10:33 -05:00
Joshua Ferraro
6f0526abaf Fix for bug: 2323: Conference name search fails in staff interface.
wrdl missing from definition on adv search page in staff client
2008-07-14 13:05:04 -05:00
Joshua Ferraro
765cbf93ba Fix to 2277: patron cardnumber is not a required field
Note to sysadmins: you'll need to add 'cardnumber' to the
syspref manually.
2008-07-14 12:57:20 -05:00
Joshua Ferraro
9f3e6b4a40 Fix for 1863: Result list for 'scan' index searches incorrect after first page 2008-07-14 11:33:13 -05:00
Joshua Ferraro
6ff2026281 Fix for bug 2116: Disable_Dictionary Syspref depreciated
It has been replaced by the syspref OpacAuthorities
2008-07-14 11:05:43 -05:00
Joshua Ferraro
52145c1589 Fix for bug 2115: OpacMaintenance wasn't working 2008-07-14 11:01:44 -05:00
Joshua Ferraro
9b41cf3b3e Fix for 2184 2008-07-14 08:39:14 -05:00
NCE
645ca22647 Updates to online help
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-14 07:52:35 -05:00
Joshua Ferraro
8943dc7fea Final fix for 2008: Daily reconciliation report broken
Stuff that hasn't ever worked in Koha gets commented out in 3.0 ;-)
2008-07-12 10:04:27 -05:00
Joshua Ferraro
d16a7fda37 Partial fix for 2084: opac-topissues.pl is both EXPERIMENTAL and
very proc hungry and we needed to warn systems admins and turn it
OFF by default.
2008-07-12 09:52:17 -05:00
Joshua Ferraro
e427bf860a Fixing bug with the way authority ID query was being generated
in XSL stylesheet
2008-07-12 09:33:17 -05:00
Joshua Ferraro
6c8b87ded1 Fix for bug2234: noOPACHolds syspref unused, superceded by RequestOnOpac
Note to systems maintainers: please delete from your systems manually.
2008-07-12 09:12:41 -05:00
Joshua Ferraro
085f329d7a Fix for bug 2342: Searching on more than 1 itemtype breaks
The problem was that the 'mc-' was removed from the checkboxes a while back and
that's what triggers the automatic application of OR boolean searching. I've
added it back to the templates and modified the ccl.properties file to include
mapping for itype,itemtype and ccode
2008-07-12 09:09:14 -05:00
841a8f8b24 Extra comma caused js error in IE6; _() function allows translation script to pick up strings in Javascript.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-12 08:59:40 -05:00
60d585aed6 Hide User Tags link when TagsEnabled preference is turned off. Change to Auth.pm allows TagsEnabled preference to work on login screens.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-12 08:59:39 -05:00
Joe Atzberger
e5df39dee8 Report cleanup - fix highlight, add debugging feedback
The debugging feedback (default style: hidden) is necessary to
investigate client reports where even after "backfill_statistics"
this report still fails to return results.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-12 08:59:38 -05:00
Chris Nighswonger
1d9d3cbcbe Further fixes to Labels.pm including escaping '(' and ')' for the PDF distiller
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-12 08:59:36 -05:00
Nicole Engard
06d40a7cbb Additional help files
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-11 15:48:24 -05:00
e7a2255675 Formatting additem form with nicer layout.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-11 12:22:37 -05:00
Joshua Ferraro
508d7643ca Revert "fix for 2181: Late Items in Red"
This used Date::Manip which we went to great lengths to remove about a year ago.

This reverts commit 36b2897430.
2008-07-10 21:30:03 -05:00
Ryan Higgins
12c23a7a89 Bugfix 2343 : Do not supply default expiry date to patron entry page.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 17:09:57 -05:00
Andrew Moore
d0c0df94fb Bug 2274: reducing MIME::Lite requirement to 3.0
There has been a report of difficulties installing MIME::Lite 3.01. Only 3.0 is really necessary, so I'm relaxing the requirements.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 16:08:40 -05:00
Ryan Higgins
87a8103c48 Further update to allow notforloan < 0 items to be placed on hold. This is a workaround for the lack of a notforhold flag.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 15:40:06 -05:00
4909b6d556 Template error prevented chosen branch from being preselected after form submission.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 15:31:26 -05:00
Ryan Higgins
a8d2b44a4c Allow holds to be placed on items with notforloan set as a negative value. See http://wiki.koha.org/doku.php?id=en:development:kohastatuses
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 15:31:24 -05:00
3bde990685 Adding javascript to deselect appropriate input fields when 'next available copy' is checked or unchecked. Changing checkboxes to radio buttons to prevent multiple selections. Note: with javascript off, an item-level hold will be placed for the selected item even if the 'next available copy' box is checked.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 15:03:39 -05:00
Jesse Weaver
36b2897430 fix for 2181: Late Items in Red
Modified overdue check in circ/circulation.pl to use Date::Manip's Date_Cmp. This would likely be useful other places in the file.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 15:03:37 -05:00
Joshua Ferraro
8fdd226323 Nomenclature update: s/Reserved on/Hold placed on/ and also updated translations 2008-07-10 13:31:10 -05:00
Joshua Ferraro
4ebc1ff3b2 Fallout from removing Date.pm, two places still used it 2008-07-10 12:06:37 -05:00
Andrew Moore
d7dd3f416e bug 2329: removing unused RSS transport type - DB version 098.
I didn't implement a way for patrons to get their advance notices and other
messages through RSS, so I'm removing it from the list of available transport types.
This will cause the "RSS" column in the patron messasging pages to be
unavailable. When we implement RSS, we can add it back in and the checkboxes will return.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 11:36:39 -05:00
Chris Nighswonger
d38c4b7f6e Correcting text wrapping on labels
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 09:45:25 -05:00
Andrew Moore
15ca4bd8fa bug 2284: ModMember can erase the dateofbirth field
patch to C4::Members::ModMember to prevent it from deleting the dateofbirth field when none is supplied.

I also added a KohaTest::random_date method to help generate randomish dates for the test suite.
Added some tests for Member::ModMember. This is an easy method to test, and this bug shows that it
could use some closer examiniation.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 09:40:46 -05:00
Andrew Moore
b14eb8f093 bug 1980 [3/3]: remove bug workaround from pagination links
yesterday, the C4::Output::pagination_bar had a bug in it that I was crudely working around.
atz fixed that bug this morning. This patch removes the workaround. Thanks, atz!

I'm sending along atz's patch again with my signoff. It needs to be applied before this, as does the
other 1980 patch. I have sent that along (again), too, with a modified subject line. That makes a total of 3 patches for 1980.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 09:18:30 -05:00
Andrew Moore
d7872f94ef bug 2329 [1/1]: remove RSS from list of transport options for patron messaging
I didn't implement a way for patrons to get their advance notices and other messages
through RSS, so I'm removing it from the list of available transport types.
This will cause the "RSS" column in the patron messasging pages to be unavailable.
When we implement RSS, we can add it back in and the checkboxes will return.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 09:11:48 -05:00
Joe Atzberger
31ef440741 Bugfix pagination_bar to work with only one param/value pair.
A valid test of this patch is this command:
perl -MC4::Output -e 'print pagination_bar("my/script?query=foobar",5,2,"page"),"\n";'

The output before patch begins:
	&nbsp;<a href="my/script?query=foobar?page=1" rel="start">&lt;&lt;</a>
and AFTER patch:
	&nbsp;<a href="my/script?query=foobar&amp;page=1" rel="start">&lt;&lt;</a>

The double "?" in QUERY_STRING are now avoided.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 09:11:44 -05:00
Andrew Moore
f2c3c027bd bug 2274: correcting call to new interface of overdue_notices.pl
I changed the interface to overdue_notices.pl at the last moment and forgot to correct one call to it.
This corrects circ/overdue.pl to call misc/cronjobs/overdue_notices.pl with the correct parameters.

Even better would be to move most of the code from overdue_notices.pl to a method somewhere
that both of these programs could call. It's inappropriate to call a cronjob from one of our CGIs.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-07-10 09:11:35 -05:00