koha.git
14 years agoModules for caching - C4::Cache is the base class, C4::Cache::Memcached and C4::Cache...
Chris Cormack [Wed, 26 Aug 2009 07:07:50 +0000 (19:07 +1200)]
Modules for caching - C4::Cache is the base class, C4::Cache::Memcached and C4::Cache::FastMemcached are subclasses

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoStarting on OO module for memoizing our functions
Chris Cormack [Wed, 26 Aug 2009 08:13:56 +0000 (20:13 +1200)]
Starting on OO module for memoizing our functions

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agobugfix breeding results of cataloging search has wrong id
Michael Hafen [Tue, 1 Sep 2009 16:03:37 +0000 (10:03 -0600)]
bugfix breeding results of cataloging search has wrong id

The breeding id, rather than coming from the database, was set by a counter.
Not so good links in the search results that way.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agosmart-rules load users library instead of default
Michael Hafen [Tue, 1 Sep 2009 17:18:05 +0000 (11:18 -0600)]
smart-rules load users library instead of default

If the user isn't a super librarian load their library by default instead of
the default settings.

This would eliminate some confusion amoung my librarians.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoBug 2505: Enabled warnings in admin-home.pl and roadtype.pl.
Garry Collum [Tue, 1 Sep 2009 23:02:43 +0000 (19:02 -0400)]
Bug 2505: Enabled warnings in admin-home.pl and roadtype.pl.

Fixed warnings generated by roadtype.pl and tightened up the code (referred to cities.pl).

No warnings were generated by admin-home.pl

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agocataloging search results from catalog don't show on later pages
Michael Hafen [Tue, 1 Sep 2009 21:59:50 +0000 (15:59 -0600)]
cataloging search results from catalog don't show on later pages

In the cataloging search results from the catalog, the result set would
decrease by one per page.  Past page 19 there was an empty table.  The reason
is that SimpleSearch gives the result set ( 20 records here ), and
searchResults expects to trim the result set to just the 20 records we want.
This changes the call to searchResults() to have a 0 offset to the result set.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoMore history updates
Chris Cormack [Sun, 6 Sep 2009 07:42:40 +0000 (19:42 +1200)]
More history updates

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoUpdating history
Chris Cormack [Sun, 6 Sep 2009 07:42:39 +0000 (19:42 +1200)]
Updating history

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 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>
14 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>
14 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

14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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

14 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

14 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.

14 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

14 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.

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

14 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.

14 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.

14 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.

14 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

14 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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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

14 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

14 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.)

14 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

14 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

14 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

14 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

14 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>
14 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.

14 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)

14 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

14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>