Commit graph

7748 commits

Author SHA1 Message Date
Galen Charlton
cfc0e33829 improved formatting of fatal error messages sent to browser
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:44:25 -05:00
Galen Charlton
7ef6669a7e fixed invocation of CGI::Carp::set_message
The message handler in C4::Context is now correctly
passed CGI::Carp.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:44:24 -05:00
Andrew Moore
5c51edc653 bug 1890: fixing calls to C4::Search::SimpleSearch
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:44:23 -05:00
Andrew Moore
883e3767fc Bug 1980: adding parameters to C4::Search::SimpleSearch to allow limiting the number of results returned.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:44:19 -05:00
Chris Nighswonger
b626a8bb9a Adding file size limit to picture-upload.pl
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:44:17 -05:00
Chris Nighswonger
b5ce8cae5e Fixes to make all label/patron card templates uniform
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:44:13 -05:00
Chris Nighswonger
88c9c3fbeb Adding sample label form for Patron Cards
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:44:12 -05:00
Galen Charlton
1d0b5a092d Catalogue => Search in staff home page
Changed to match similar change in the menu
bar.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:44:10 -05:00
Galen Charlton
6a0a4e3900 avoid croak on latest CVS version of MARC::Record
The semantics of MARC::Record->delete_field() changed
slightly in the latest CVS version of MARC::Record.
delete_field() will now croak if passed an undef
scalar, while the version of MARC::Record from CPAN
accepts that input.  Since some packages of MARC::Record
in the wild appear to be based on the CVS version, not
the CPAN version, added a check where needed to avoid
the croak.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:44:07 -05:00
Chris Nighswonger
dd80cb4f2a More work on patron card generation feature
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:42:38 -05:00
Chris Nighswonger
028f4f24fb Adding member search to patron card generation feature
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:42:37 -05:00
Chris Nighswonger
4cfbf45e35 Work on adding patron search to patron card generation feature.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:42:33 -05:00
766639aa0a Tweaking the interface of OPAC shelves to more closely match the pattern set by the staff client. Simplifies and focuses on specific tasks.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:41:13 -05:00
4322942efd Notifying the user when they have selected no items and clicked 'Add to list.'
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:41:13 -05:00
8fb4f21fae Visual tweaks for login screen.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:41:12 -05:00
c51316a594 Correction to prevent js error when table has no data.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:41:11 -05:00
Ryan Higgins
7fe042a008 Change LateOrders to inclusive <=, s/supplier/vendor , s/parcel/shipment.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-04-01 06:37:00 -05:00
Galen Charlton
4f001186b6 still more rebuild_zebra refactoring
Merged duplicate code for indexing bibs and
authorities into a single index_records() function.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:58:03 -05:00
Galen Charlton
a5576b8dfe IMPORTANT: added -z option to rebuild_zebra.pl
The -z option, when used in conjunction with -a and/or -b,
selects the records to reindex from the zebraqueue table.
Both record updates and record deletes are handled.

-z is cannot be used with -s or -r: the updated records
must always be freshly exported, and if zebraqueue
is to be processed, it's assumed that you don't want
to drop the Zebra index first.

This means that rebuild_zebra.pl -b -a -x can be
used as a cronjob to update the indexes periodically; it
is believed that this will offer much better indexing
performance on some setups as compared to zebraqueue_daemon.pl,
which uses Z39.50 extended services to send record updates
to Zebra.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:58:01 -05:00
Galen Charlton
57d128f727 rebuild_zebra: exit if both -a and -x specified
At moment using both -a (index authorities) and
-x (export records as MARC XML) is not allowed -
if the Zebra authority database is using the DOM
filter, zebraidx will not be able to process the
exported records correctly.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:57:44 -05:00
Galen Charlton
f0d5da7448 more rebuild_zebra.pl refactoring
1. Logic to fix up record IDs, UNIMARC 100 field,
   and record leader now in separate functions.
2. Removed (incorrect) logic to save corrected record
   in database.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:57:43 -05:00
Galen Charlton
f98c27a8bc refactor rebuild_zebra: new routine for invoking zebraidx
Created a routine for calling zebraidx, replacing
separate invocations for bibs and authorities.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:57:42 -05:00
Galen Charlton
ae8a76dacc rebuild_zebra.pl: removed disused $limit option
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:57:41 -05:00
52c7a4f697 Markup corrections. Tweaking holds interface.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:22:40 -05:00
1b43d64a71 Adding function to empty cart when user logs out.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:22:39 -05:00
7573de259a Markup correction.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:22:37 -05:00
88fef9c6c1 Removing a couple of unused templates
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:22:35 -05:00
afabf473f4 Removing old patronimages js check, adding missing patron image variable to script.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:22:33 -05:00
200e00e347 Reformatting holds list to better match checkouts list
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:22:32 -05:00
5702b149c3 Fixing bug that caused all items in checked-out list to show up as overdue; Reformatting table and tweaking select all/none behavior.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:22:31 -05:00
178e230cca Fixing bug where language menu footer wouldn't "stick."
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:22:27 -05:00
0a694b581c Beginning work on Calendar compatibility fixes
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:22:26 -05:00
Ryan Higgins
76fb49ba37 Send borrower mods to branchemail instead of syspref.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:20:27 -05:00
Ryan Higgins
86ee8ee384 Add print slip to hold confirmation dialog.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:20:25 -05:00
Ryan Higgins
e00966e073 Report borrower's home library on reserves library mismatch.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-25 07:20:22 -05:00
Joshua Ferraro
d69ea30d01 just some notes for RMs :-)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-23 00:50:18 -05:00
Joshua Ferraro
85cfcf5369 updating installation docs
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-23 00:26:30 -05:00
Joshua Ferraro
93a08fb4d0 updating release notes
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-23 00:26:15 -05:00
Joshua Ferraro
7107930b90 updating translations for release
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-22 22:42:57 -05:00
Joshua Ferraro
f818b620a6 Two utilities to help manage translations
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-22 22:42:07 -05:00
Joshua Ferraro
5abed24d10 Adding some new translations
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-22 15:36:27 -05:00
Joshua Ferraro
bf70c57899 Updating translations for release
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-22 14:51:07 -05:00
Joshua Ferraro
556721e86a Experimental XSLT-based display of results and details pages To enable, create two new YesNo sysprefs: XSLTDetailsDisplay and XSLTResultsDisplay, and set them to ON. Feature to be expanded in a future version, this experimental code is for proof of concept only and doesn't introduce any changes if sysprefs are not created.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-21 21:49:04 -05:00
Galen Charlton
b4f39e5c58 do not let MARC::Batch open MARC files
The version of MARC::Batch->new() distributed with version
2.0.0 of MARC::Record, if given a file name, will
open it using the ':utf8' layer.  This results in an
incorrect character conversion when processing records
in the MARC-8 character encoding.

To avoid this, batch jobs that use MARC::Batch now
open the file themselves, then pass the file handle
to MARC::Batch->new().

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-21 21:46:39 -05:00
Galen Charlton
ad0639e548 remove some unneeded use statements
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-21 21:46:29 -05:00
64f93777a9 Fixing branch select onChange() function, hopefully fixes Bug 1957, Holiday Calendar broken in Internet Explorer
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-21 21:46:28 -05:00
Galen Charlton
2ccb547118 partial fix for bug 1417
The Notes field should now be displayed correctly
when editing an order - the query in GetOrder
was modified to have aqorder's notes column
appear last, which means that it is the one
selected for the data hash (instead of biblio.notes
or biblioitems.notes).

This is an ugly fix - GetOrder needs to be
refactored so that it doesn't depend on
selecting all columns from several different
tables.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-21 21:45:20 -05:00
Andrew Moore
c445e449c3 bug: 1953. cleaning up Acquisition::NewOrder just a little bit.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-21 21:45:19 -05:00
Andrew Moore
5285bb04fe bug: 1953. using placeholders in C4::Acquisition::NewOrder.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-21 21:45:18 -05:00
Andrew Moore
a610782e6c bug 1953: using placeholders in C4::Acquisition::GetParcel
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-03-21 21:45:17 -05:00