]> git.koha-community.org Git - koha.git/log
koha.git
15 years agoReturn barcode as Sip hold_patron_id
Colin Campbell [Sun, 6 Sep 2009 09:53:21 +0000 (10:53 +0100)]
Return barcode as Sip hold_patron_id

Behave consistently with other patron_ids as many sip clients
use this in a subsequent patron information or patron status request

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoMerge branch 'labels_recon' into to-push
Galen Charlton [Sun, 6 Sep 2009 02:07:17 +0000 (22:07 -0400)]
Merge branch 'labels_recon' into to-push

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoMerge commit 'origin/master' into labels_recon
Galen Charlton [Sun, 6 Sep 2009 01:45:39 +0000 (21:45 -0400)]
Merge commit 'origin/master' into labels_recon

15 years agotweak label batch template for new label batches
Galen Charlton [Sun, 6 Sep 2009 01:30:41 +0000 (21:30 -0400)]
tweak label batch template for new label batches

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agodebugify a warn
Galen Charlton [Sun, 6 Sep 2009 01:30:30 +0000 (21:30 -0400)]
debugify a warn

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agofixed references to template includes
Galen Charlton [Sun, 6 Sep 2009 01:03:06 +0000 (21:03 -0400)]
fixed references to template includes

Errors found by the xt/author/valid-templates.t test.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agofixed translatibility error in label-edit-layout.tmpl
Galen Charlton [Sun, 6 Sep 2009 00:56:36 +0000 (20:56 -0400)]
fixed translatibility error in label-edit-layout.tmpl

Error found by xt/author/translatable-templates.t test.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoremove unnecesary import of HTM:::Template::pro
Galen Charlton [Sun, 6 Sep 2009 00:50:40 +0000 (20:50 -0400)]
remove unnecesary import of HTM:::Template::pro

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoreplace syslog with warns
Galen Charlton [Sun, 6 Sep 2009 00:43:44 +0000 (20:43 -0400)]
replace syslog with warns

As discussed with Chris Nighswonger on #koha, this patch
removes the calls to syslog and replaces them with warns
so that error messages generated by the labels code
are sent to the Apache error log.  This avoids splitting
this sort of logging across multiple files and is consistent
with current practice in most of the rest of Koha.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoNicer error message if a branch is not set
Chris Cormack [Thu, 3 Sep 2009 01:16:34 +0000 (13:16 +1200)]
Nicer error message if a branch is not set

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoAdding a missing module to labels search
Chris Nighswonger [Thu, 3 Sep 2009 02:08:07 +0000 (22:08 -0400)]
Adding a missing module to labels search

This causes an error to be thrown if no items are retrieved and the
code goes to call &syslog

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoFixing warns (tnx to Chris Cormack for identifying these)
Chris Nighswonger [Thu, 3 Sep 2009 03:47:33 +0000 (23:47 -0400)]
Fixing warns (tnx to Chris Cormack for identifying these)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 2505: remove additional warning messages
Galen Charlton [Sat, 5 Sep 2009 23:50:51 +0000 (19:50 -0400)]
bug 2505: remove additional warning messages

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoenable warnings in overduerules.pl Call GetBranchesLoop instead of duplicating code...
Colin Campbell [Fri, 4 Sep 2009 13:14:01 +0000 (14:14 +0100)]
enable warnings in overduerules.pl Call GetBranchesLoop instead of duplicating code make countletters a count as it says check for definedness before doing string comparisons do as not to generate warnings

15 years agoUNIMARC XSLT enhancement
Frédéric Demians [Sat, 5 Sep 2009 07:45:50 +0000 (09:45 +0200)]
UNIMARC XSLT enhancement

Improve UNIMARC XSL for result and detail page:

  * Add fields
  * Consolidation
  * Support RTL language display using $7 UNIMARC standard
    for Arabic and Hebrew
  * Fix bug #2773 via XSL at field level, removing NSB and
    NSE characters in biblio records, and avoiding to do
    it at application level in C4::Output.pm

Note for RM: There will be some tweaking coming next week.
If I see you don't push this patch, I will resubmit a
completed version later.

Sponsored by BULAC, www.bulac.fr

15 years agoBug 2505: Enabled warnings in boraccount.pl and pay.pl.
Garry Collum [Fri, 4 Sep 2009 16:01:45 +0000 (12:01 -0400)]
Bug 2505: Enabled warnings in boraccount.pl and pay.pl.

Enabled warnings in members/boraccount.pl and members/pay.pl.  Fixed resulting warnings.

15 years ago[40/40] Removing depricated files
Chris Nighswonger [Tue, 1 Sep 2009 15:50:37 +0000 (11:50 -0400)]
[40/40] Removing depricated files

15 years ago[39/40] Removeing depricated functions from label module.
Chris Nighswonger [Mon, 24 Aug 2009 17:08:45 +0000 (13:08 -0400)]
[39/40] Removeing depricated functions from label module.

15 years ago[38/40] Misc bugfixs
Chris Nighswonger [Tue, 1 Sep 2009 19:10:56 +0000 (15:10 -0400)]
[38/40] Misc bugfixs

15 years ago[37/40] Updating sample labels data
Chris Nighswonger [Tue, 1 Sep 2009 19:08:29 +0000 (15:08 -0400)]
[37/40] Updating sample labels data

This update takes care of the EN and FR data only. Sorry.

15 years ago[36/40] Bugfix for profile update on profile/template association change.
Chris Nighswonger [Mon, 24 Aug 2009 15:01:09 +0000 (11:01 -0400)]
[36/40] Bugfix for profile update on profile/template association change.

15 years ago[35/40] Work on C4::Labels tests and various bugfixs resulting
Chris Nighswonger [Tue, 1 Sep 2009 18:50:57 +0000 (14:50 -0400)]
[35/40] Work on C4::Labels tests and various bugfixs resulting

This patch also moves the Labels tests into their own sub directory.

Due to a squash mistake this patch also includes the following:

Fixing up POD for C4::Labels modules

Also a minor bugfix and code refactoring.

15 years ago[34/40] Work on syncing db schema on both new and upgrade installs
Chris Nighswonger [Sat, 29 Aug 2009 05:44:42 +0000 (01:44 -0400)]
[34/40] Work on syncing db schema on both new and upgrade installs

Labels creator data migration script
Updating updatedatabase.pl and bumping db version

15 years ago[33/40] Porting call number splitting improvements from HEAD
Chris Nighswonger [Thu, 20 Aug 2009 12:25:41 +0000 (08:25 -0400)]
[33/40] Porting call number splitting improvements from HEAD

15 years ago[32/40] Work on patron card creator module
Chris Nighswonger [Wed, 19 Aug 2009 19:55:06 +0000 (15:55 -0400)]
[32/40] Work on patron card creator module

This is simply cut&paste from the older labels module code in an effort to preserve the existing patron card code for use
in the patron card creator module. This is NOT functioning code at the moment.

15 years ago[31/40] Misc bugfixes and cosmetic cleanup.
Chris Nighswonger [Fri, 14 Aug 2009 04:07:35 +0000 (00:07 -0400)]
[31/40] Misc bugfixes and cosmetic cleanup.

15 years ago[30/40] Work on labels module home page.
Chris Nighswonger [Tue, 1 Sep 2009 18:21:37 +0000 (14:21 -0400)]
[30/40] Work on labels module home page.

15 years ago[29/40] Work on label module general tool bar.
Chris Nighswonger [Thu, 13 Aug 2009 18:14:03 +0000 (14:14 -0400)]
[29/40] Work on label module general tool bar.

15 years ago[28/40] Updating tools homepage to reflect label module rework.
Chris Nighswonger [Thu, 13 Aug 2009 16:18:13 +0000 (12:18 -0400)]
[28/40] Updating tools homepage to reflect label module rework.

15 years ago[27/40] Fixing up the labels batches toolbar functionality.
Chris Nighswonger [Thu, 13 Aug 2009 16:13:08 +0000 (12:13 -0400)]
[27/40] Fixing up the labels batches toolbar functionality.

15 years ago[26/40] Refactoring auto label batch generation feature in bulk import tool and addin...
Chris Nighswonger [Thu, 13 Aug 2009 14:39:42 +0000 (10:39 -0400)]
[26/40] Refactoring auto label batch generation feature in bulk import tool and adding error trapping/handling.

15 years ago[25/40] More work on label export coded and interface. Adding icons for all export...
Chris Nighswonger [Wed, 12 Aug 2009 21:05:40 +0000 (17:05 -0400)]
[25/40] More work on label export coded and interface. Adding icons for all export formats & general dressing up.

15 years ago[24/40] Adding single/multiple label printing to label export code and interface.
Chris Nighswonger [Tue, 1 Sep 2009 18:13:39 +0000 (14:13 -0400)]
[24/40] Adding single/multiple label printing to label export code and interface.

This adds single/multiple label printing by item number along with new CSV and XML export code.

15 years ago[23/40] Initial work on label export interface.
Chris Nighswonger [Mon, 10 Aug 2009 20:32:01 +0000 (16:32 -0400)]
[23/40] Initial work on label export interface.

15 years ago[22/40] General code cleanup of new labels module code.
Chris Nighswonger [Mon, 10 Aug 2009 16:45:43 +0000 (12:45 -0400)]
[22/40] General code cleanup of new labels module code.

15 years ago[21/40] Adding de-duplicating method and associated label edit batch code.
Chris Nighswonger [Tue, 1 Sep 2009 18:05:52 +0000 (14:05 -0400)]
[21/40] Adding de-duplicating method and associated label edit batch code.

15 years ago[20/40] Work on label printing code.
Chris Nighswonger [Wed, 5 Aug 2009 19:53:40 +0000 (15:53 -0400)]
[20/40] Work on label printing code.

15 years ago[19/40] Various tweaks to the interface cosmetics, form validation scripts, css,...
Chris Nighswonger [Wed, 5 Aug 2009 15:31:06 +0000 (11:31 -0400)]
[19/40] Various tweaks to the interface cosmetics, form validation scripts, css, etc.

15 years ago[18/40] Work on label item search.
Chris Nighswonger [Sat, 29 Aug 2009 05:26:13 +0000 (01:26 -0400)]
[18/40] Work on label item search.

15 years ago[17/40] Work on C4::Labels::Lib::html_table api to add link field option
Chris Nighswonger [Tue, 1 Sep 2009 18:18:52 +0000 (14:18 -0400)]
[17/40] Work on C4::Labels::Lib::html_table api to add link field option

15 years ago[16/40] Improvements to label management interface code.
Chris Nighswonger [Thu, 30 Jul 2009 04:14:58 +0000 (00:14 -0400)]
[16/40] Improvements to label management interface code.

15 years ago[15/40] Initial work on label batch edit interface.
Chris Nighswonger [Tue, 1 Sep 2009 16:33:52 +0000 (12:33 -0400)]
[15/40] Initial work on label batch edit interface.

15 years ago[14/40] Work on batch management interface.
Chris Nighswonger [Tue, 1 Sep 2009 16:29:39 +0000 (12:29 -0400)]
[14/40] Work on batch management interface.

15 years ago[13/40] Work on profile editor interface.
Chris Nighswonger [Tue, 28 Jul 2009 18:44:24 +0000 (14:44 -0400)]
[13/40] Work on profile editor interface.

15 years ago[12/40] Work on label managment interface.
Chris Nighswonger [Sat, 25 Jul 2009 03:03:50 +0000 (23:03 -0400)]
[12/40] Work on label managment interface.

15 years ago[11/40] Work on layout editor interface.
Chris Nighswonger [Sat, 25 Jul 2009 03:03:05 +0000 (23:03 -0400)]
[11/40] Work on layout editor interface.

15 years ago[10/40] Work on Label Tool Homepage.
Chris Nighswonger [Sat, 25 Jul 2009 03:02:09 +0000 (23:02 -0400)]
[10/40] Work on Label Tool Homepage.

15 years ago[9/40] Work on template interface.
Chris Nighswonger [Tue, 1 Sep 2009 16:17:10 +0000 (12:17 -0400)]
[9/40] Work on template interface.

15 years ago[8/40] Adding new layout management page
Chris Nighswonger [Mon, 20 Jul 2009 17:24:49 +0000 (13:24 -0400)]
[8/40] Adding new layout management page

This moves the layouts off of the labels tool start page to bring it into
conformity with the other parts of this tool.

15 years ago[7/40] Adding C4::Labels::Lib module
Chris Nighswonger [Mon, 20 Jul 2009 17:23:16 +0000 (13:23 -0400)]
[7/40] Adding C4::Labels::Lib module

Library of often used label related linear functions

15 years ago[6/40] Adding C4::Labels::Label Module
Chris Nighswonger [Mon, 20 Jul 2009 17:22:21 +0000 (13:22 -0400)]
[6/40] Adding C4::Labels::Label Module

Creates and manipulates Label objects

15 years ago[5/40] Adding C4::Labels::PDF module
Chris Nighswonger [Fri, 3 Jul 2009 13:29:33 +0000 (09:29 -0400)]
[5/40] Adding C4::Labels::PDF module

This module provides a very light wrapper for PDF::Reuse and PDF::Reuse::Barcode
to make them a psuedo-class and allow OO-like calls. (AKA... a hack.)

15 years ago[4/40] Work on C4::Labels::Batch module
Chris Nighswonger [Fri, 3 Jul 2009 13:28:51 +0000 (09:28 -0400)]
[4/40] Work on C4::Labels::Batch module

15 years ago[3/40] Work on C4::Labels::Profile module and tests
Chris Nighswonger [Wed, 1 Jul 2009 04:00:22 +0000 (00:00 -0400)]
[3/40] Work on C4::Labels::Profile module and tests

15 years ago[2/40] Work on C4::Labels::Template and associated tests
Chris Nighswonger [Tue, 1 Sep 2009 15:01:29 +0000 (11:01 -0400)]
[2/40] Work on C4::Labels::Template and associated tests

This commit also contains some work on C4::Labels::Layout as well

15 years ago[1/40] Work on C4::Labels::Layout module and tests
Chris Nighswonger [Mon, 29 Jun 2009 15:24:51 +0000 (11:24 -0400)]
[1/40] Work on C4::Labels::Layout module and tests

NOTE: This patch is the first of 40 which almost completely re-factor the
label creator code into a hopefully more scalable form. The new format is
a move in direction of OO handling labels, batches, templates, layouts, and
profiles as objects thus permitting easier implementation of features and
enhancements. It should be possible to export label data in any format one
might choose with the simple addition of a script similar to those included
which produce pdf, csv, and xml format.

One of the larger improvements is a change in workflow that results in template,
layout, and start label selection occurring just before export.

There are also various bugfixes and smaller interface improvements woven into it.

It should be noted that this patch series removes the patron card creator feature
for the present. This feature was only partially completed. A completed variation
will be submitted as a separate patch series to follow in the near future.

The following bugs and enhancements are fixed by this series of patches:

2944 Search to add items to a label batch broken
2061 labels_conf DB values: NULL vs. 0
2511 CSV format string is not cleared when unselected in the label layout editor
2515 Re-factor C4::Labels::DrawSpineText
2823 Label Generator not generating barcodes
3171 Problem due to internationalization in label-create-template.tmpl in de-DE and possibly others
3180 Active settings for label settings should be set at print time only

This work was sponsored by Foundations Bible College & Seminary, Dunn, NC USA

15 years agobug 3564 follow: ensure NoZebra is passed to templates
Galen Charlton [Mon, 31 Aug 2009 02:05:38 +0000 (22:05 -0400)]
bug 3564 follow: ensure NoZebra is passed to templates

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobugfix error if memcached_servers is empty in koha-conf.xml
Michael Hafen [Wed, 26 Aug 2009 22:43:59 +0000 (16:43 -0600)]
bugfix error if memcached_servers is empty in koha-conf.xml

XML::Simple returns by default an empty hash ref if it encounters an xml tag
with no attributes or content.  If memcached_servers is empty, as the installer
sets it when this feature is disabled, then we get the empty hash ref.

In checking if memcached_servers is set the empty hash ref evaluates as true.
I.E.

  $servers = C4::Context->config('memcached_servers');
  if ($servers) {

so we get a comiler error from memcached trying to resolve the nonexistant
server address.

15 years agoHide links to stop words management if NoZebra is ON. (Bug 3564)
Owen Leonard [Fri, 28 Aug 2009 14:16:14 +0000 (09:16 -0500)]
Hide links to stop words management if NoZebra is ON. (Bug 3564)

15 years agoAn additional icon for the Bridge set, "E Video, " contributed by John A. Graziano...
Owen Leonard [Sat, 29 Aug 2009 14:18:39 +0000 (09:18 -0500)]
An additional icon for the Bridge set, "E Video, " contributed by John A. Graziano Memorial Library

15 years agoBug 3547: Staff client call number searches right index now
Nicole Engard [Mon, 24 Aug 2009 03:15:23 +0000 (23:15 -0400)]
Bug 3547: Staff client call number searches right index now

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years ago(bug #3546) fix issues_stats
Nahuel ANGELINETTI [Mon, 24 Aug 2009 11:56:52 +0000 (13:56 +0200)]
(bug #3546) fix issues_stats

This fix the order of columns.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoAdding some caching to C4::Biblio, to GetMarcStructure
Chris Cormack [Tue, 25 Aug 2009 04:46:18 +0000 (16:46 +1200)]
Adding some caching to C4::Biblio, to GetMarcStructure

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoAdding sponsoring libraries, will try to go back and backfill
Chris Cormack [Mon, 24 Aug 2009 11:11:05 +0000 (23:11 +1200)]
Adding sponsoring libraries, will try to go back and backfill

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agograceful degradation if memcached option is not configured in koha-conf.xml
Galen Charlton [Mon, 24 Aug 2009 11:52:46 +0000 (07:52 -0400)]
graceful degradation if memcached option is not configured in koha-conf.xml

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoUpdating the Makefile so memcached configuration can be added to the koha-conf.xml...
Chris Cormack [Mon, 24 Aug 2009 08:49:11 +0000 (20:49 +1200)]
Updating the Makefile so memcached configuration can be added to the koha-conf.xml file

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoFailing gracefully if Memoize::Memcached is not installed
Chris Cormack [Mon, 24 Aug 2009 03:37:00 +0000 (15:37 +1200)]
Failing gracefully if Memoize::Memcached is not installed

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoStarting work on memoizing expensive functions with Memoize::Memcached
Chris Cormack [Mon, 24 Aug 2009 00:31:49 +0000 (12:31 +1200)]
Starting work on memoizing expensive functions with Memoize::Memcached

A patch will follow with the changes to the koha-conf.xml and with instructions on installing memcached

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3481: add deleditems.permanent_location (DB rev 052)
Galen Charlton [Mon, 24 Aug 2009 00:51:52 +0000 (20:51 -0400)]
bug 3481: add deleditems.permanent_location (DB rev 052)

Whenever a column is added to items, it must also be added
to deleteditems - otherwise, whenever an item is deleted,
it will not be saved to deleteditems.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoassigned typo fixes to DBrev 051
Galen Charlton [Mon, 24 Aug 2009 00:35:04 +0000 (20:35 -0400)]
assigned typo fixes to DBrev 051

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoFixed minor typos in new system preferences.
Nicole Engard [Sun, 23 Aug 2009 16:18:34 +0000 (12:18 -0400)]
Fixed minor typos in new system preferences.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoadded newlines back to sample_notices.sql
Galen Charlton [Mon, 24 Aug 2009 00:25:27 +0000 (20:25 -0400)]
added newlines back to sample_notices.sql

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 2611, 1934 followup - DBrevs 049 and 050
Galen Charlton [Mon, 24 Aug 2009 00:21:27 +0000 (20:21 -0400)]
bug 2611, 1934 followup - DBrevs 049 and 050

Assigned DBrevs as follows:

049: additional correction per bug 2611
050: OPACSearchForTitleIn system preference

Also fixed syntax errors in code for 050.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoREVISED: Fixed some typos and language in the sample notices.
Nicole Engard [Sun, 23 Aug 2009 10:49:18 +0000 (06:49 -0400)]
REVISED: Fixed some typos and language in the sample notices.

Realized that we don't want to update the notices in existing installs
as this would overwrite any changes and customizations libraries
may have made.

Original commit: 10b7bab4445c92f7f647be53e4b0ea858cbb2a84

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 1934: Add system preference to handle editing of 'More searches'
Nicole Engard [Sun, 23 Aug 2009 09:41:34 +0000 (05:41 -0400)]
Bug 1934: Add system preference to handle editing of 'More searches'

This preference allows librarians to control which links appear
in the 'More Searches' box on the opac detail page. If the
preference is left blank the 'More Searches' menu will not apear
on the opac detail page at all.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoChanged catlogue to catalog per the standard
Nicole Engard [Wed, 19 Aug 2009 03:01:40 +0000 (23:01 -0400)]
Changed catlogue to catalog per the standard

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoFixed some typos and language in the sample notices.
Nicole Engard [Sun, 16 Aug 2009 21:45:47 +0000 (17:45 -0400)]
Fixed some typos and language in the sample notices.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBUG 2611: Changed catalogue to catalog and fixed capitalization.
Nicole Engard [Sun, 16 Aug 2009 21:23:03 +0000 (17:23 -0400)]
BUG 2611: Changed catalogue to catalog and fixed capitalization.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 2611, 2761 followup
Galen Charlton [Sun, 23 Aug 2009 23:06:06 +0000 (19:06 -0400)]
bug 2611, 2761 followup

* set DB changes as revs 047 and 048
* ensured that itemcallnumber was widened to 255 in items and
  tmp_holdsqueue
* adjusted DB update descriptions

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBUG 2611: Changed catalogue to catalog and fixed capitalization.
Nicole Engard [Sun, 16 Aug 2009 21:23:03 +0000 (17:23 -0400)]
BUG 2611: Changed catalogue to catalog and fixed capitalization.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBUG 2761 Fix max length of itemcallnumber to 255
Nicole Engard [Sun, 16 Aug 2009 17:51:39 +0000 (13:51 -0400)]
BUG 2761 Fix max length of itemcallnumber to 255

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3464 followup - fix glitches
Galen Charlton [Sun, 23 Aug 2009 22:37:19 +0000 (18:37 -0400)]
bug 3464 followup - fix glitches

* Fixed 'counry' typo
* added country and B_country to deleteborrowers

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3464: set to DBrev 046 for new borrowers columns
Galen Charlton [Sun, 23 Aug 2009 22:20:25 +0000 (18:20 -0400)]
bug 3464: set to DBrev 046 for new borrowers columns

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3464: Takes columns country and B_country of table borrowers into account in...
Sébastien Hinderer [Sun, 2 Aug 2009 05:50:08 +0000 (07:50 +0200)]
bug 3464: Takes columns country and B_country of table borrowers into account in related operations.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoDatabase structure modification.
Sébastien Hinderer [Sat, 1 Aug 2009 11:05:55 +0000 (13:05 +0200)]
Database structure modification.

Adds the country and B_country columns to the borrowers table.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3539: tweaked English description of HidePatronName syspref
Galen Charlton [Sun, 23 Aug 2009 17:57:26 +0000 (13:57 -0400)]
bug 3539: tweaked English description of HidePatronName syspref

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3539, Adding a systempreference to hide borrowers name on the catalogue detail...
Chris Cormack [Wed, 19 Aug 2009 08:21:13 +0000 (20:21 +1200)]
Bug 3539, Adding a systempreference to hide borrowers name on the catalogue detail page, and holds page

Squashed commit of the following:

commit e9dd6e1dee03fe3503f7995b57510f9edfe6b333
Author: Chris Cormack <chrisc@catalyst.net.nz>
Date:   Wed Aug 19 08:14:53 2009 +0000

    Version number

commit df3ee5473e79b760a91c62b96d7ce19229e0fd27
Author: Chris Cormack <chrisc@catalyst.net.nz>
Date:   Wed Aug 19 08:08:11 2009 +0000

    French systempref

commit c4b036e4e43947d7d1fb9f2e18e460788cb4e1ec
Author: Chris Cormack <chrisc@catalyst.net.nz>
Date:   Wed Aug 19 00:25:33 2009 +0000

    Code to update the database, and updating the sysprefs.sql

commit f74b942c24d5e9c33a4ec0e5ac706a0e347eb1a7
Author: Chris Cormack <chrisc@catalyst.net.nz>
Date:   Tue Aug 18 02:07:22 2009 +0000

    Now hides the name on the detail screen too

commit 53c80dbef88e360a4bbb78ecff3a6ca6ec401398
Author: Chris Cormack <chrisc@catalyst.net.nz>
Date:   Tue Aug 18 01:35:19 2009 +0000

    Allowing the librarians to choose to hide the borrowers name on holds

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3485: fixed updatedatbase (also DBRev 043->044)
Galen Charlton [Sun, 23 Aug 2009 17:23:21 +0000 (13:23 -0400)]
bug 3485: fixed updatedatbase (also DBRev 043->044)

* Fixed case of copy-and-pastitis in DBrev descrieption
* Inserted description for new syspref

NOTE: Please do not leave the system preference description blank
in the updatedatabase entry - even for non-English users, an English
description is more useful than a blank one.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3485: Clear Borrower record after checkout.
PTFS Contractor [Sun, 26 Jul 2009 18:56:01 +0000 (19:56 +0100)]
bug 3485: Clear Borrower record after checkout.

Button added to clear the last Borrower record after transaction is complete
To enable, turn on the syspref DisplayClearScreenButton.

This work was sponsored by Middletown Township Public Library, Middletown, NJ USA

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3481: imporve cart_to_shelf.pl
Galen Charlton [Sun, 23 Aug 2009 17:06:00 +0000 (13:06 -0400)]
bug 3481: imporve cart_to_shelf.pl

Use revised CartToShelf() to insure that indexer
knows to reindex affected bib records.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3481 followup - ensure permanent location is stored when updating item
Galen Charlton [Sun, 23 Aug 2009 16:53:06 +0000 (12:53 -0400)]
bug 3481 followup - ensure permanent location is stored when updating item

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3481 followup - improve CartToShelf
Galen Charlton [Sun, 23 Aug 2009 16:51:12 +0000 (12:51 -0400)]
bug 3481 followup - improve CartToShelf

* added POD
* removed optional $barcode argument - in all cases,
  itemnumber is known, and we should stick with
  itemnumber when retrieving an existing item
* use ModItem to do the update so that indexer
  will know to reindex bib - otherwise, can't
  do an accurate search of items that are on
  the shelving cart.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3481 followup - set temporary processing location
Galen Charlton [Sun, 23 Aug 2009 16:49:17 +0000 (12:49 -0400)]
bug 3481 followup - set temporary processing location

Ensure that the temporary processing location is always
set regardless of whether one item is added or multiple
copies are added at once.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agocosmetic fix - use $itemnumber as argument to GetItems when available
Galen Charlton [Sun, 23 Aug 2009 16:48:34 +0000 (12:48 -0400)]
cosmetic fix - use $itemnumber as argument to GetItems when available

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3481 followup - add new sysprefs to circulation section
Galen Charlton [Sun, 23 Aug 2009 16:47:52 +0000 (12:47 -0400)]
bug 3481 followup - add new sysprefs to circulation section

15 years agobug 3481 followup - fix database update
Galen Charlton [Sun, 23 Aug 2009 16:46:28 +0000 (12:46 -0400)]
bug 3481 followup - fix database update

Set items.permanent_location to the current value
of items.location - otherwise, the item shelving location
could get blanked as existing items are checked in.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3481: Allow Item Temporary Locations for Processing and Shelving.
Colin Campbell [Mon, 27 Jul 2009 15:33:00 +0000 (16:33 +0100)]
bug 3481: Allow Item Temporary Locations for Processing and Shelving.

Allows temporary locations corresponding to 'in processing' and 'shelving'
so that newly-created items, and newly-returned items do not show
immediately as a available. Three new system preferences govern the usage
of these features.

NewItemsDefaultLocation. If system pref NewItemsDefaultLocation is set to a location code,
 all newly catalogued items will be set to the location set in this preference.
 Location code must be a valid LOC authorized value type.

InProcessingToShelvingCart. if the system pref InProcessingToShelvingCart is turned on,
any items run through returns.pl with a location code for 'PROC', will be modified to
have a new location code of 'CART'.

ReturnToShelvingCart.  If the syspref ReturnToShelvingCart is turned on,
all items returned other than confirmed holds will have a new location code of 'CART'.
Any item issued is automatically taken of the shelving cart.

Adds a cron script shelf_to_cart.pl which should be run hourly.
Updates all items with a location of CART to the item's permanent location.

The original location code is stored in the new items column 'permanent_location'.

Original Author: PTFS Contractor <dbavousett@ptfs.com>

This work co-sponsored by
  Middletown Township Public Library, Middletown, NJ USA  and
  East Brunswick Public Library, East Brunswick, NJ USA

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agofix how patron_flagged gets set for opac-user.tmpl
Galen Charlton [Sun, 23 Aug 2009 15:26:35 +0000 (11:26 -0400)]
fix how patron_flagged gets set for opac-user.tmpl

Remove unneeded variable and get value from $borr->{'flagged'}
directly, avoiding glitch where $borr->{'flagged'} could be
set after old $patron_flagged variable was set.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3493: DBrev 041->042 (added OPACFineNoRenewals)
Galen Charlton [Sun, 23 Aug 2009 14:16:41 +0000 (10:16 -0400)]
bug 3493: DBrev 041->042 (added OPACFineNoRenewals)

Also changed default value of OPACFineNoRenewals to 99999
when upgrading existing databases so that there's no (likely)
sudden change in OPAC behavior.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoPrevent OPAC renewals if fines are over limit
Jesse Weaver [Sun, 26 Jul 2009 12:28:47 +0000 (13:28 +0100)]
Prevent OPAC renewals if fines are over limit

This introduces a new system preference, OPACFineNoRenewals, that sets a
limit on the total fines a patron can have before they can no longer
renew their own books. opac-user.pl has been updated to obey this limit.

This work sponsered by East Brunswick Public Library, East Brunswick, NJ USA

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>