koha.git
16 years agomore items work; handle unlinked subfields (DB rev => 048)
Galen Charlton [Mon, 21 Jan 2008 20:14:42 +0000 (14:14 -0600)]
more items work; handle unlinked subfields (DB rev => 048)

As a consequence, the items table now remains authoritative
for all item information: any subfields not explicitly mapped
in the framework are still stored.

In addition, the additional unlinked subfields are now retained
during a call to ModItem.

Two additional points of note:

* an upgrade script from 2.2 and earlier 3.0 instllations is needed
  to populate items.marc_subfields_xml; I am working on this.
* A behavour of bulkmarcimport.pl has now changed; any item subfields
  not explicitly mapped to a Koha items field were dropped; they are
  now retained and are stored in items.more_subfields_xml.  This can
  affect data migrations.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadded caching of results of GetMarcStructure
Galen Charlton [Mon, 21 Jan 2008 20:14:41 +0000 (14:14 -0600)]
added caching of results of GetMarcStructure

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoC4::Items -- removed two warns
Galen Charlton [Mon, 21 Jan 2008 20:14:40 +0000 (14:14 -0600)]
C4::Items -- removed two warns

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoeditorial changes to C4/Items.pm
Galen Charlton [Mon, 21 Jan 2008 20:14:39 +0000 (14:14 -0600)]
editorial changes to C4/Items.pm

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoprevent AddItem death if no marcrecord is given.
Henri-Damien LAURENT [Mon, 21 Jan 2008 20:14:38 +0000 (14:14 -0600)]
prevent AddItem death if no marcrecord is given.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoImportant Commit For UNIMARC Items.
Henri-Damien LAURENT [Mon, 21 Jan 2008 20:14:37 +0000 (14:14 -0600)]
Important Commit For UNIMARC Items.

Nonetheless, you are right to consider items table as the reference.
We need one, and we agree on this principle.

What is done with this commit is :
- adding support for marc subfields not linked to items table.

+ removing some $dbh parameters in some function signature.
I think this is rel2_2 style programming and may be avoided using C4::Context->dbh.
Or there is a reason using dbh parameter that you know and not me.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agobulkauthimport fix
Daniel BÃ\83¼nzli [Mon, 21 Jan 2008 14:54:05 +0000 (08:54 -0600)]
bulkauthimport fix

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agocorrectly caluclate default template path for OPAC
Paul POULAIN [Mon, 21 Jan 2008 09:16:03 +0000 (03:16 -0600)]
correctly caluclate default template path for OPAC

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding dateexpiry to borrowers search result list
Paul POULAIN [Mon, 21 Jan 2008 09:16:02 +0000 (03:16 -0600)]
adding dateexpiry to borrowers search result list

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1773, reading record not showing properly in the OPAC
Chris Cormack [Sun, 20 Jan 2008 22:56:41 +0000 (16:56 -0600)]
Fix for bug 1773, reading record not showing properly in the OPAC

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding a few credits for translation team
Joshua Ferraro [Sun, 20 Jan 2008 06:58:58 +0000 (00:58 -0600)]
adding a few credits for translation team

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding changelanguage feature to OPAC
Henri-Damien LAURENT [Sun, 20 Jan 2008 06:58:57 +0000 (00:58 -0600)]
Adding changelanguage feature to OPAC

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agomoving a misplaced * to fix a bug in issuingrules
Paul POULAIN [Sun, 20 Jan 2008 06:58:52 +0000 (00:58 -0600)]
moving a misplaced * to fix a bug in issuingrules

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoDelete labels/label-select-pdf.pl - Cannot see where this was/is being used.
Joe Atzberger [Sun, 20 Jan 2008 06:58:50 +0000 (00:58 -0600)]
Delete labels/label-select-pdf.pl - Cannot see where this was/is being used.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixing a bug that meant you had to have totals defined for
Chris Cormack [Sun, 20 Jan 2008 06:55:29 +0000 (00:55 -0600)]
Fixing a bug that meant you had to have totals defined for

branch/itemtype/category in issuingrules, or TooMany would always fail

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1766 typo in sys pref explanation for dontmerge
Chris Cormack [Wed, 16 Jan 2008 22:14:32 +0000 (16:14 -0600)]
Fix for bug 1766 typo in sys pref explanation for dontmerge

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBugFixing : default language was always en. Not a problem for dev purpose but would...
Henri-Damien LAURENT [Wed, 16 Jan 2008 18:32:23 +0000 (12:32 -0600)]
BugFixing : default language was always en. Not a problem for dev purpose but would be on installation

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoShelves wrap up - bugfix 1405, opac checkbox js fixed
Joe Atzberger [Wed, 16 Jan 2008 18:32:22 +0000 (12:32 -0600)]
Shelves wrap up - bugfix 1405, opac checkbox js fixed

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBugFixing : 1299 /displaying lists for document types and borrower categories
Henri-Damien LAURENT [Wed, 16 Jan 2008 18:32:21 +0000 (12:32 -0600)]
BugFixing : 1299 /displaying lists for document types and borrower categories

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agosco.js - trivial javascript cleanup, comment
Joe Atzberger [Tue, 15 Jan 2008 17:39:18 +0000 (11:39 -0600)]
sco.js - trivial javascript cleanup, comment

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoShelves - bugfix 1403 amongst others
Joe Atzberger [Tue, 15 Jan 2008 17:39:17 +0000 (11:39 -0600)]
Shelves - bugfix 1403 amongst others

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoDisplaying AuthorisedValues for items linked with authorised_value lists.
Henri-Damien LAURENT [Tue, 15 Jan 2008 17:39:16 +0000 (11:39 -0600)]
Displaying AuthorisedValues for items linked with authorised_value lists.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agodisplaying button Renew All only if syspref OpacRenewalAllowed is set.
Henri-Damien LAURENT [Tue, 15 Jan 2008 17:39:15 +0000 (11:39 -0600)]
displaying button Renew All only if syspref OpacRenewalAllowed is set.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding utf8 encoding for RSS.
Henri-Damien LAURENT [Tue, 15 Jan 2008 17:39:14 +0000 (11:39 -0600)]
Adding utf8 encoding for RSS.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAvoid double renew button when subscription is over
Henri-Damien LAURENT [Tue, 15 Jan 2008 17:39:12 +0000 (11:39 -0600)]
Avoid double renew button when subscription is over

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding syspref PatronsPerPage
Henri-Damien LAURENT [Tue, 15 Jan 2008 17:39:11 +0000 (11:39 -0600)]
adding syspref PatronsPerPage

PatronsPerPage stores the number of patrons to display per page.
Default is 20

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1541, Show area name rather than number
Chris Cormack [Mon, 14 Jan 2008 23:00:29 +0000 (17:00 -0600)]
Fix for bug 1541, Show area name rather than number

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixing a broken redirect in the reports dictionary
Chris Cormack [Mon, 14 Jan 2008 23:00:28 +0000 (17:00 -0600)]
Fixing a broken redirect in the reports dictionary

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixing a bug where a cgi object wasnt being passed, in the reports dictionary
Chris Cormack [Mon, 14 Jan 2008 23:00:27 +0000 (17:00 -0600)]
Fixing a bug where a cgi object wasnt being passed, in the reports dictionary

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFinishing off bug 1427, if the person has ReturnBeforeExpiry set they are
Chris Cormack [Mon, 14 Jan 2008 20:38:03 +0000 (14:38 -0600)]
Finishing off bug 1427, if the person has ReturnBeforeExpiry set they are

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSmall change to fix alignment of login menu
Owen Leonard [Mon, 14 Jan 2008 18:59:00 +0000 (12:59 -0600)]
Small change to fix alignment of login menu

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoOverhaul to Koha's js-menu systems. New language-picker in the footer required more...
Owen Leonard [Mon, 14 Jan 2008 18:58:59 +0000 (12:58 -0600)]
Overhaul to Koha's js-menu systems. New language-picker in the footer required more flexibility than jquery's clickmenu plugin offered, so both the language picker and the main navigation menu now use YUI's menu plugin. The necessary dependencies have been added, and ClickMenu-related files removed.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoPatch
Frédéric DEMIANS [Mon, 14 Jan 2008 18:58:58 +0000 (12:58 -0600)]
Patch

See attached file. Thanks.

>From b0d40589f4fa0921ee05073b14903ed79b90c474 Mon Sep 17 00:00:00 2001
From: Frederic DEMIANS <f.demians@tamil.fr>
Date: Mon, 14 Jan 2008 14:20:35 +0100
Subject: [PATCH] Sample News in French

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoChanging Libraryname heading style so it displays
Russel Garlick [Mon, 14 Jan 2008 18:58:57 +0000 (12:58 -0600)]
Changing Libraryname heading style so it displays

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1539
Chris Cormack [Mon, 14 Jan 2008 01:43:07 +0000 (19:43 -0600)]
Fix for bug 1539

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for if a supplier is added without a name
Chris Cormack [Mon, 14 Jan 2008 00:39:05 +0000 (18:39 -0600)]
Fix for if a supplier is added without a name

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1428
Chris Cormack [Sun, 13 Jan 2008 23:59:41 +0000 (17:59 -0600)]
Fix for bug 1428

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1762, links on bookcount.pl dont work
Chris Cormack [Sun, 13 Jan 2008 18:42:59 +0000 (12:42 -0600)]
Fix for bug 1762, links on bookcount.pl dont work

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoGoing to next line for each search line in searchbox
Paul POULAIN [Sun, 13 Jan 2008 07:39:13 +0000 (01:39 -0600)]
Going to next line for each search line in searchbox

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding OpacRenewalAllowed systempref (bump to 047)
Paul POULAIN [Sun, 13 Jan 2008 07:39:12 +0000 (01:39 -0600)]
Adding OpacRenewalAllowed systempref (bump to 047)

to let the library decide wheter their patrons can or can't renew checked-out items directly from their account.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoA book can be renewed if renewalsallowed > to renewals done, not >=
Paul POULAIN [Sun, 13 Jan 2008 07:39:11 +0000 (01:39 -0600)]
A book can be renewed if renewalsallowed > to renewals done, not >=

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agodisplay notforloanvalue correctly
Paul POULAIN [Sun, 13 Jan 2008 07:39:10 +0000 (01:39 -0600)]
display notforloanvalue correctly

Not displaying Available if itemnotforloan is set (& item is not for loan)
The description of the status is enough (being repaired, excluded from loan, ...)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agosome reindenting
Paul POULAIN [Sun, 13 Jan 2008 07:39:09 +0000 (01:39 -0600)]
some reindenting

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoitemtypes.pl - partial revisions, incl. replacement of invalid META Refresh calls
Joe Atzberger [Sat, 12 Jan 2008 13:25:01 +0000 (07:25 -0600)]
itemtypes.pl - partial revisions, incl. replacement of invalid META Refresh calls

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoDates - remove extra newlines from carps, add partial "00" date tests to Dates.t
Joe Atzberger [Sat, 12 Jan 2008 13:25:00 +0000 (07:25 -0600)]
Dates - remove extra newlines from carps, add partial "00" date tests to Dates.t

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoOutput.pm - silence unconditional warn.
Joe Atzberger [Sat, 12 Jan 2008 13:24:59 +0000 (07:24 -0600)]
Output.pm - silence unconditional warn.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoShelves consolidation to C4::VirtualShelves::Page. I can tell the consolidation
Joe Atzberger [Sat, 12 Jan 2008 13:24:58 +0000 (07:24 -0600)]
Shelves consolidation to C4::VirtualShelves::Page. I can tell the consolidation

worked b/c the pages still display their previous behavior, including unfixed bugs.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadd three missing packages to Debian list
Galen Charlton [Sat, 12 Jan 2008 13:24:56 +0000 (07:24 -0600)]
add three missing packages to Debian list

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding a few _() for translator
Paul POULAIN [Fri, 11 Jan 2008 08:57:12 +0000 (02:57 -0600)]
adding a few _() for translator

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agohdl has added a Text::Iconv dependancy yesterday, checking it in installer
Paul POULAIN [Fri, 11 Jan 2008 08:57:10 +0000 (02:57 -0600)]
hdl has added a Text::Iconv dependancy yesterday, checking it in installer

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agotranslation for subtag_registry
Paul POULAIN [Fri, 11 Jan 2008 08:57:09 +0000 (02:57 -0600)]
translation for subtag_registry

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agocategory entry javascript fix
Ryan Higgins [Fri, 11 Jan 2008 07:32:09 +0000 (01:32 -0600)]
category entry javascript fix

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRevert "adding TRUNCATES before INSERTS"
Mason James [Thu, 10 Jan 2008 22:45:42 +0000 (16:45 -0600)]
Revert "adding TRUNCATES before INSERTS"

This reverts commit 732c11be895b3b2c79942c1071d11f497d87f1dc.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for 1599 getting expiry date prepopulating on member entry
Chris Cormack [Thu, 10 Jan 2008 21:22:42 +0000 (15:22 -0600)]
Fix for 1599 getting expiry date prepopulating on member entry

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoLabels.pm - BEGIN block VERSION and vars related to export.
Joe Atzberger [Thu, 10 Jan 2008 21:22:41 +0000 (15:22 -0600)]
Labels.pm - BEGIN block VERSION and vars related to export.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agocatalogue - exit after redirect in detail.pl and updateitem.pl
Joe Atzberger [Thu, 10 Jan 2008 21:22:40 +0000 (15:22 -0600)]
catalogue - exit after redirect in detail.pl and updateitem.pl

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofix record->field call on autobarcode
Ryan Higgins [Thu, 10 Jan 2008 21:18:19 +0000 (15:18 -0600)]
fix record->field call on autobarcode

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoPopulate serialitems table, bugfix
Ryan Higgins [Thu, 10 Jan 2008 18:29:19 +0000 (12:29 -0600)]
Populate serialitems table, bugfix

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agonomenclature changes and hide advanced numbering by default
Ryan Higgins [Thu, 10 Jan 2008 16:14:39 +0000 (10:14 -0600)]
nomenclature changes and hide advanced numbering by default

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoEscaping the $title in the regexes with \Q and \E to handle nested quantifiers, cheer...
Mason James [Thu, 10 Jan 2008 05:47:34 +0000 (23:47 -0600)]
Escaping the $title in the regexes with \Q and \E to handle nested quantifiers, cheers chris :)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoShelves reworking - fix handling of itemtype images, symlink to opac icons.
Joe Atzberger [Thu, 10 Jan 2008 05:47:33 +0000 (23:47 -0600)]
Shelves reworking - fix handling of itemtype images, symlink to opac icons.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding TRUNCATES before INSERTS
Mason James [Thu, 10 Jan 2008 05:47:32 +0000 (23:47 -0600)]
adding TRUNCATES before INSERTS

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoShelves - bugfix, toggle "Holds" link, add "Author" column to intranet
Joe Atzberger [Wed, 9 Jan 2008 21:52:49 +0000 (15:52 -0600)]
Shelves - bugfix, toggle "Holds" link, add "Author" column to intranet

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofix for 1754; fixing I18N BiDi, improvements to handling of language
Joshua Ferraro [Wed, 9 Jan 2008 21:02:40 +0000 (15:02 -0600)]
fix for 1754; fixing I18N BiDi, improvements to handling of language

TODO: clean up the OPAC similarly

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixing unclosed TMPL_UNLESS, reported in Bug 1757.
Owen Leonard [Wed, 9 Jan 2008 21:02:39 +0000 (15:02 -0600)]
Fixing unclosed TMPL_UNLESS, reported in Bug 1757.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding yuipath variable to help.pl, and doing some cleanup of help templates (standar...
Owen Leonard [Wed, 9 Jan 2008 20:38:58 +0000 (14:38 -0600)]
Adding yuipath variable to help.pl, and doing some cleanup of help templates (standardizing structure, mostly, and correcting some nomenclature).

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1686
Chris Cormack [Wed, 9 Jan 2008 20:37:43 +0000 (14:37 -0600)]
Fix for bug 1686

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoCalendar (js) tweaks: histsearch fixed, viewlog template updated
Joe Atzberger [Wed, 9 Jan 2008 20:02:15 +0000 (14:02 -0600)]
Calendar (js) tweaks: histsearch fixed, viewlog template updated

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving unused include
Owen Leonard [Wed, 9 Jan 2008 20:02:14 +0000 (14:02 -0600)]
Removing unused include

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoCleanup for member entry: XHTML-compliance (close inputs, ids must match labels)...
Owen Leonard [Wed, 9 Jan 2008 20:02:13 +0000 (14:02 -0600)]
Cleanup for member entry: XHTML-compliance (close inputs, ids must match labels) and translator-friendliness (can't embed TMPL_IF inside tags); Cleanup of circ and members menus; Menu context flag for readingrec.pl; Correction to Auth.pm (updatecharge -> updatecharges)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoChanging circ redirect to use borrowernumber instead of cardnumber: If you edited...
Owen Leonard [Wed, 9 Jan 2008 20:02:12 +0000 (14:02 -0600)]
Changing circ redirect to use borrowernumber instead of cardnumber: If you edited a patron's record to change their cardnumber the redirect would fail because it used the old number.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1400, some variables not being passed to the branch transfers
Chris Cormack [Wed, 9 Jan 2008 19:36:40 +0000 (13:36 -0600)]
Fix for bug 1400, some variables not being passed to the branch transfers

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agonewordersuggestion.tmpl - minor clarification on empty list message
Joe Atzberger [Wed, 9 Jan 2008 19:14:28 +0000 (13:14 -0600)]
newordersuggestion.tmpl - minor clarification on empty list message

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSuggestions.pm - bugfix need CGI argument to gettemplate
Joe Atzberger [Wed, 9 Jan 2008 19:14:27 +0000 (13:14 -0600)]
Suggestions.pm - bugfix need CGI argument to gettemplate

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoVirtualShelves.pm - expanded SQL for shelf contents, fixes bug of no itemtypes displa...
Joe Atzberger [Wed, 9 Jan 2008 19:14:26 +0000 (13:14 -0600)]
VirtualShelves.pm - expanded SQL for shelf contents, fixes bug of no itemtypes displaying.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoCirculation.pm - cleanup, clarification of HLT-specific behavior. Please confirm...
Joe Atzberger [Wed, 9 Jan 2008 19:14:25 +0000 (13:14 -0600)]
Circulation.pm - cleanup, clarification of HLT-specific behavior. Please confirm HLT-specific code is still needed and OK.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1624
Chris Cormack [Wed, 9 Jan 2008 19:10:21 +0000 (13:10 -0600)]
Fix for bug 1624

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoUse serialitems table to link to serial in Items.pm
Ryan Higgins [Wed, 9 Jan 2008 03:36:49 +0000 (21:36 -0600)]
Use serialitems table to link to serial in Items.pm

Also update staff client with serialseq and publisheddate for serial items.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding a few missing sysprefs
Joshua Ferraro [Wed, 9 Jan 2008 03:04:55 +0000 (22:04 -0500)]
adding a few missing sysprefs

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agocouple of commas out of place
Joshua Ferraro [Wed, 9 Jan 2008 02:29:33 +0000 (21:29 -0500)]
couple of commas out of place

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for typo, leftover index on 046 updatedb commit.
Ryan Higgins [Wed, 9 Jan 2008 02:08:41 +0000 (20:08 -0600)]
Fix for typo, leftover index on 046 updatedb commit.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMore replace statements, this time admin/printers.pl
Chris Cormack [Wed, 9 Jan 2008 01:41:25 +0000 (19:41 -0600)]
More replace statements, this time admin/printers.pl

Bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving replace from stopwords.pl
Chris Cormack [Wed, 9 Jan 2008 01:41:24 +0000 (19:41 -0600)]
Removing replace from stopwords.pl

More bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoWhoops fixing the update call, had params round the wrong way
Chris Cormack [Wed, 9 Jan 2008 01:41:23 +0000 (19:41 -0600)]
Whoops fixing the update call, had params round the wrong way

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving replace from admin/roadtype.pl
Chris Cormack [Wed, 9 Jan 2008 01:41:22 +0000 (19:41 -0600)]
Removing replace from admin/roadtype.pl

Bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoKilling more replace statements, bug 1546
Chris Cormack [Wed, 9 Jan 2008 01:41:21 +0000 (19:41 -0600)]
Killing more replace statements, bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving replace sql from admin/letter.pl as per bug 1546
Chris Cormack [Wed, 9 Jan 2008 01:01:37 +0000 (19:01 -0600)]
Removing replace sql from admin/letter.pl as per bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemoving replace statement from C4::Branch as per bug 1546
Chris Cormack [Wed, 9 Jan 2008 00:03:25 +0000 (18:03 -0600)]
Removing replace statement from C4::Branch as per bug 1546

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoImproving encoding Support for z3950 clients.
Henri-Damien LAURENT [Tue, 8 Jan 2008 22:43:22 +0000 (16:43 -0600)]
Improving encoding Support for z3950 clients.

Adding encoding for z3950 server information.
Uses Text::Iconv for conversion (ISO6937 and ISO_5428 and ISO5427)
For ISO 5426 (ANSEL or MARC-8) new char_decode5426 based on marc4j tool.

Not Tested on LOC or any USMARC z3950 source. But tested OK on BNF and SUDOC.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding encoding management to z3950
Henri-Damien LAURENT [Tue, 8 Jan 2008 22:43:21 +0000 (16:43 -0600)]
adding encoding management to z3950

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agomore logs for MARC::Charset problems
Henri-Damien LAURENT [Tue, 8 Jan 2008 22:43:20 +0000 (16:43 -0600)]
more logs for MARC::Charset problems

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoadding generic OPAC translation
Joshua Ferraro [Wed, 9 Jan 2008 00:50:58 +0000 (19:50 -0500)]
adding generic OPAC translation

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoupdating generic translation POT file
Joshua Ferraro [Tue, 8 Jan 2008 23:37:45 +0000 (18:37 -0500)]
updating generic translation POT file

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agorenaming translation files to conform to our standard convention. Moving stats.pl...
Joshua Ferraro [Tue, 8 Jan 2008 23:23:55 +0000 (18:23 -0500)]
renaming translation files to conform to our standard convention. Moving stats.pl and update.pl out of the po/ dir to avoid conflicts with kartouche stats system

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFixing renewal error messages for todays issues in circulation.tmpl
Chris Cormack [Tue, 8 Jan 2008 22:08:16 +0000 (16:08 -0600)]
Fixing renewal error messages for todays issues in circulation.tmpl

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoFix for bug 1740
Chris Cormack [Tue, 8 Jan 2008 22:08:15 +0000 (16:08 -0600)]
Fix for bug 1740

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoSwitching debug back off ... whoops
Chris Cormack [Tue, 8 Jan 2008 21:44:18 +0000 (15:44 -0600)]
Switching debug back off ... whoops

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoChanging CanBookBeRenewed to pass back the reason a renewal cannot proceed
Chris Cormack [Tue, 8 Jan 2008 21:44:17 +0000 (15:44 -0600)]
Changing CanBookBeRenewed to pass back the reason a renewal cannot proceed

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoCHANGE TO PREVIOUS .046 DATABASE UPDATE
Ryan Higgins [Tue, 8 Jan 2008 21:17:00 +0000 (15:17 -0600)]
CHANGE TO PREVIOUS .046 DATABASE UPDATE

This commit changes .046 updatedatebase , where itemnumber was changed
to int and keyed on items table.  As there is code in serials module that
uses itemnumber (text) as a list of itemnumbers, this change would cause data
loss if that field had multiple items in it.
Instead, we add a new table to link serial and items tables, so that
(1) we can have many items per serial issue, and
(2) staged upgrades that use the serial.itemnumber (text) list won't be affected.
Further commits will make use of the serialitems linking table.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding redirect parameter to opac-userupdate.pl so that message can be displayed...
Owen Leonard [Tue, 8 Jan 2008 21:16:59 +0000 (15:16 -0600)]
Adding redirect parameter to opac-userupdate.pl so that message can be displayed on opac-user.pl when patron submits changes. Copying dialog styles from staff client.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>