]> git.koha-community.org Git - koha.git/log
koha.git
15 years agoBUG 3380 Show serial enumeration on opac holds screen
Katrin Fischer [Sun, 27 Sep 2009 21:24:22 +0000 (23:24 +0200)]
BUG 3380 Show serial enumeration on opac holds screen

Shows column Vol Info if serial enumeration is used for one of the items.
Replaces first patch.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug-3098-Bug-3108-Bug-3545 revision to XSLT syspref patch
Jane Wagner [Wed, 16 Sep 2009 15:15:55 +0000 (11:15 -0400)]
Bug-3098-Bug-3108-Bug-3545 revision to XSLT syspref patch

The patch I sent earlier repeated a line having to do with the count of items, which mean the count was now doubling (2 items instead of 1, 4 instead of 2, etc.).  This patch removes the first, now superflous line of $xmlrecord =~ s/\<\/record\>/$itemsxml\<\/record\>/;

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3416: Fixes filter on parcels.tmpl.
Garry Collum [Sun, 12 Jul 2009 01:33:31 +0000 (21:33 -0400)]
Bug 3416: Fixes filter on parcels.tmpl.

Changes the action of the form on parcels.tmpl from "post" to "get."  Otherwise the filter is not functional.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3415: Adds highlighting to tables in parcel.tmpl
Garry Collum [Sat, 11 Jul 2009 22:18:49 +0000 (18:18 -0400)]
Bug 3415: Adds highlighting to tables in parcel.tmpl

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3414: Cleanup and xhthml correction of parcels.tmpl
Garry Collum [Sat, 11 Jul 2009 20:49:11 +0000 (16:49 -0400)]
Bug 3414: Cleanup and xhthml correction of parcels.tmpl

Fixes several xhtml in parcels.tmpl and enables highlighting within its data table.  Removes unnecessary variable from parcels.pl.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3436: tweak cache settings for patron images
Galen Charlton [Wed, 16 Sep 2009 11:44:39 +0000 (07:44 -0400)]
bug 3436: tweak cache settings for patron images

Per suggestion by Joe Atzberger.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoDB rev 061: added ShowPatronImageInWebBasedSelfCheck (bug 3436)
Galen Charlton [Wed, 16 Sep 2009 11:43:18 +0000 (07:43 -0400)]
DB rev 061: added ShowPatronImageInWebBasedSelfCheck (bug 3436)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3436: improve error messages in self-check
Galen Charlton [Wed, 22 Jul 2009 21:43:43 +0000 (16:43 -0500)]
bug 3436: improve error messages in self-check

Improved the error messages displayed to users
by web-based self-checkout when a problem with
a loan occurs.

This changed was sponsored by the Plano Independent
School District.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3436: enhance sorting of loans (self-check)
Galen Charlton [Wed, 22 Jul 2009 21:43:42 +0000 (16:43 -0500)]
bug 3436: enhance sorting of loans (self-check)

[1] Change the default sort order of checked out
    items to have the most recent loans displayed
    first.

[2] Add the ability (via jQuery tablesorter) for
    the user to sort the list of loans.

Also fixed the formatting of the due date.

This change was sponsored by the Plano Independent School
District.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3436: add patron images to web self-check
Galen Charlton [Wed, 22 Jul 2009 21:43:41 +0000 (16:43 -0500)]
bug 3436: add patron images to web self-check

Adds a new system preference, ShowPatronImageInWebBasedSelfCheck;
if this preference is ON, a patron's image is displayed
if available when using web-based self-check.

Note: a patch for updatedatabase.pl will be made when this
change is ready to push.

This change is sponsored by the Plano Independent School
District.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoAdd predefined fee types
PTFS [Sat, 25 Jul 2009 09:22:51 +0000 (10:22 +0100)]
Add predefined fee types

Ability in system administration to define additional fee and fine options that appear in dropdown box
on the create manual invoice tab in patron fines.

To use create authorised values with the category MANUAL_INV,
Authorized Value is the description, and Description is the default fee, if any.

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

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
15 years agoEnsure op is defined in serials scripts
Colin Campbell [Wed, 16 Sep 2009 11:18:11 +0000 (12:18 +0100)]
Ensure op is defined in serials scripts

Set $op to an empty string if no value passed
otherwise the error-log fills with warnings on comparison

15 years agoDB rev 059->060
Galen Charlton [Wed, 16 Sep 2009 02:24:03 +0000 (22:24 -0400)]
DB rev 059->060

Bumped for new patron messaging feature.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoavoid error message since messages table does not exist yet
Galen Charlton [Wed, 16 Sep 2009 02:16:01 +0000 (22:16 -0400)]
avoid error message since messages table does not exist yet

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoNew Messaging System.
Colin Campbell [Sat, 25 Jul 2009 09:03:09 +0000 (10:03 +0100)]
New Messaging System.

This system is indended to replace the old opacnotes
  and borrowernotes fields in the borrowers table.
  This system allows an unlimited number of Libraran and OPAC notes to be
  attached to a borrower. Each note has a message, a message type,
  the data it was created, and which library created it.
  Each message can only be deleted by the library that created it unless the syspref
  AllowAllMessageDeletion has been set.

  This system may be used simultaneously with the old notes system and does not affect it in any way.

  A new database table (messages) was added for this feature.

  The System also allows for pre-defined notes for Borrower records

  To use these, just create authorised values with the category BOR_NOTES
  where the Authorized Value is the short description shown in the pulldown,
  and the description is the text that should be in the note.

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

  This work co-sponsered 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>
15 years agoDB rev 058->059 - add DisplayOPACiconsXSLT syspref
Galen Charlton [Wed, 16 Sep 2009 01:37:45 +0000 (21:37 -0400)]
DB rev 058->059 - add DisplayOPACiconsXSLT syspref

Pushing new new system preference DisplayOPACiconsXSLT created per bug 3545
as DB rev 059

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3098, Bug 3108, Bug 3545 -- Make MARC21 XSLT obey sysprefs in OPAC
Jane Wagner [Sun, 23 Aug 2009 19:58:55 +0000 (15:58 -0400)]
Bug 3098, Bug 3108, Bug 3545 -- Make MARC21 XSLT obey sysprefs in OPAC

The MARC21slim2OPACDetail.xsl and MARC21slim2OPACResults.xsl XSLT
stylesheets do not obey any of the OPAC sysprefs, OPACURLOpenInNewWindow,
URLLinkText, or a new one added for Bug 3545, DisplayOPACiconsXSLT.
Modified C4/XSLT.pm based on code written by Fréric Demians (thanks!) to
pass the values of the sysprefs to the .xsl files.  Modified the .xsl
files to implement them.  If the respective sysprefs are set, the OPAC
results and display pages will/will not display the format/material
type/audience icons, will/will not open URLs in new browser windows,
and will/will not use the text entered in URLLinkText as generic link
text when there is no value in the 856 subfield y, 3, or z.  (Note that
if subfields y, 3, or z do contain text, the first match is what will be displayed.)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoFix for license statement on about page
Chris Cormack [Tue, 15 Sep 2009 22:49:16 +0000 (10:49 +1200)]
Fix for license statement on about page

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoUpdate some DBI interactions
Colin Campbell [Mon, 7 Sep 2009 16:31:28 +0000 (17:31 +0100)]
Update some DBI interactions

remove unnecessary calls to finish
let DBI return an array instead of looping to create one
make some SQL oneliners more succinct

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 2500 Correcting incorrect splitting of cutter numbers
Chris Nighswonger [Tue, 15 Sep 2009 13:27:13 +0000 (09:27 -0400)]
Bug 2500 Correcting incorrect splitting of cutter numbers

This patch does two things to improve the call number splitting algorithms:

1. It makes changes to ensure that cutter numbers are split correctly in ddcns

2. It moves custom/fiction/biography call number splitting to a separate algorithm.
    Before they were incorrectly placed in ddcns.

This patch also modifies the call number splitting tests to accept call numbers from the
command line to allow quick testing of any give call number against a particular algorithm.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoAvoid unnecessary warnings in reserve/modrequest.pl
Colin Campbell [Tue, 15 Sep 2009 13:06:39 +0000 (14:06 +0100)]
Avoid unnecessary warnings in reserve/modrequest.pl

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3614 followup
Galen Charlton [Tue, 15 Sep 2009 13:19:57 +0000 (09:19 -0400)]
bug 3614 followup

* renamed default_ind_to_space to _default_ind_to_space
  as it is an internal function
* added calls to _default_ind_to_space in other places

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3614 Fix incorrect setting of indicator
Colin Campbell [Mon, 14 Sep 2009 18:26:47 +0000 (19:26 +0100)]
bug 3614 Fix incorrect setting of indicator

Pull the code into its own subr so that the dangers of
inaccurate copy & paste are avoided in future

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoupdated DB-dependent tests to reflect labels rewrite
Galen Charlton [Tue, 15 Sep 2009 12:57:53 +0000 (08:57 -0400)]
updated DB-dependent tests to reflect labels rewrite

* removed lib/KohaTest/Labels.pm, which is now completely outdated
* updated list of database tables to truncate in lib/KohaTest.pm

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobumped up required version of Test::More
Galen Charlton [Tue, 15 Sep 2009 12:20:50 +0000 (08:20 -0400)]
bumped up required version of Test::More

Now requiring at least 0.80, the oldest version available
from CPAN, because use_ok tests were not being properly
accounted for in the test plan before 0.73.  This led
to a situation where a test script containing a use_ok test
that passes running under an earlier version of Test::More
would fail under a more recent one.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years ago(bug #3558) fix build_browser_and_cloud
Nahuel ANGELINETTI [Fri, 28 Aug 2009 21:47:50 +0000 (23:47 +0200)]
(bug #3558) fix build_browser_and_cloud

This patch, permit to take care of similar entries, if there is some diacritics or not.
(cherry picked from commit 776c177e3debedaf08fec65fbf8111675ccc93e7)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoinclude grace period when calculating overdue fine
Michael Hafen [Wed, 2 Sep 2009 20:14:59 +0000 (14:14 -0600)]
include grace period when calculating overdue fine

Before the grace period was not included in the number of days overdue when
calculating the fine.  My librarians seem to think the number of days overdue
should include the grace period.

Fine is not assessed before the grace period is up though.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoEnable warnings in serial scripts
Colin Campbell [Mon, 7 Sep 2009 12:03:10 +0000 (13:03 +0100)]
Enable warnings in serial scripts

Remove some superfluous variables
Simplify some loops over lists
Fix generated warnings
Strip whitespace from line endings

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoMoving css to correct location
Chris Nighswonger [Mon, 7 Sep 2009 14:27:11 +0000 (10:27 -0400)]
Moving css to correct location

See comments in commit b1197477d476ddaedec43392bdd92396b94b0852

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3602: Fixes a log error for opac-search.pl if expanded_options is not defined.
Garry Collum [Sat, 12 Sep 2009 16:27:18 +0000 (12:27 -0400)]
Bug 3602: Fixes a log error for opac-search.pl if expanded_options is not defined.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3603: Fixes XHMTL errors in catalogue/showmarc.tmpl
Garry Collum [Sun, 13 Sep 2009 14:41:43 +0000 (10:41 -0400)]
Bug 3603: Fixes XHMTL errors in catalogue/showmarc.tmpl

Missing <title> tags, missing </head> and <body>, extra </div>

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3604: Fixes invalid XHTML in manage-marc-import.tmpl.
Garry Collum [Sun, 13 Sep 2009 15:08:35 +0000 (11:08 -0400)]
Bug 3604: Fixes invalid XHTML in manage-marc-import.tmpl.

Also adds zebra striping to <table>

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3605: Fixes XHTML error in z3950_search.tmpl
Garry Collum [Sun, 13 Sep 2009 16:16:14 +0000 (12:16 -0400)]
Bug 3605: Fixes XHTML error in z3950_search.tmpl

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3606: fixes 'last 50 items only' link in members/readingrec.tmpl.
Garry Collum [Mon, 14 Sep 2009 02:15:31 +0000 (22:15 -0400)]
Bug 3606: fixes 'last 50 items only' link in members/readingrec.tmpl.

If a staff member clicked on 'Show all items' in a patron's reading record, and
then clicked on 'show last 50 items only,' all of the records would still be
shown.  The link for the 'last 50' items contains a switch for 'limit=full'
instead of 'limit=50'.

Also fixes some XHTML errors.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoAvoid potentially unnecessary database call in Auth
Michael Hafen [Mon, 14 Sep 2009 15:07:57 +0000 (09:07 -0600)]
Avoid potentially unnecessary database call in Auth

Auth, after verifying the session/logging in the user, calls to the database
to get the users borrowernumber.  This call is probably unnecessary because
borrowernumber is part of userenv.  Check userenv before going to the database.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBUG 3625: untranslatable strings in opac-shelves.tmpl
Katrin Fischer [Mon, 14 Sep 2009 20:49:06 +0000 (22:49 +0200)]
BUG 3625: untranslatable strings in opac-shelves.tmpl

select all, clear all, tag, place hold

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoFollow-up for Bug 3524, adding itemtype text description
Owen Leonard [Thu, 10 Sep 2009 15:19:51 +0000 (10:19 -0500)]
Follow-up for Bug 3524, adding itemtype text description

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBugs: 1172 3579 3596 fixes to patron detail in opac
Nicole Engard [Thu, 10 Sep 2009 23:46:50 +0000 (19:46 -0400)]
Bugs: 1172 3579 3596 fixes to patron detail in opac

This patch makes it so that the patron can see their
details even if the OPACPatronDetails sys pref is OFF.

It also removed the messaging options from the patron
details and leaves them on the messaging tab.

Finally it adds in address fields that were missing
previously on the update patron form.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoHandle null-or-empty to Charset::StripNonXmlChars
J. David Bavousett [Thu, 10 Sep 2009 15:10:50 +0000 (11:10 -0400)]
Handle null-or-empty to Charset::StripNonXmlChars

When rebuild_zebra.pl is run from cron, there is an occasional error
of the form:

Use of uninitialized value $str in substitution (s///) at /home/ebpl/kohaclone/C4/Charset.pm line 304.

This error is occuring when the string that is fed to Charset::StripNonXmlChars
is null or undefined, for some reason.

This fix will handle the null-or-empty condition, and thus suppress the error.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 2505: Enabled warnings in tools-home.pl, holidays.pl, exceptionHolidays.pl, and...
Garry Collum [Fri, 11 Sep 2009 15:26:57 +0000 (11:26 -0400)]
Bug 2505: Enabled warnings in tools-home.pl, holidays.pl, exceptionHolidays.pl, and newHolidays.pl

Tested for warnings after addition of 'use warnings.' No warnings were generated.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3601: Cleanup of holiday.tmpl
Garry Collum [Fri, 11 Sep 2009 15:41:38 +0000 (11:41 -0400)]
Bug 3601: Cleanup of holiday.tmpl

Changes the word 'location' to 'library.'
Expands the description of 'exception.'

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoRemove js debugging which caused failure of "uncheck all."
Owen Leonard [Fri, 11 Sep 2009 23:53:00 +0000 (18:53 -0500)]
Remove js debugging which caused failure of "uncheck all."

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoFix for typo in previous history patch
Chris Cormack [Mon, 7 Sep 2009 10:04:57 +0000 (22:04 +1200)]
Fix for typo in previous history patch

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years ago2 new committers for the history doc
Chris Cormack [Sun, 6 Sep 2009 20:58:22 +0000 (08:58 +1200)]
2 new committers for the history doc

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3567: Display Alternate Graphic Representation (MARC21 880) in OPAC
Wolfgang Heymans [Tue, 1 Sep 2009 08:28:06 +0000 (10:28 +0200)]
Bug 3567: Display Alternate Graphic Representation (MARC21 880) in OPAC

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoChanges to make checkouts/holds display the same on circulation and patron detail...
Owen Leonard [Fri, 28 Aug 2009 13:12:28 +0000 (08:12 -0500)]
Changes to make checkouts/holds display the same on circulation and patron detail screens (Bug 3106)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoDisplay description, avoid broken itemtype image on holds page (Bug 3524)
Owen Leonard [Fri, 28 Aug 2009 13:38:23 +0000 (08:38 -0500)]
Display description, avoid broken itemtype image on holds page (Bug 3524)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoAdding strings to translate in tags.js
Henri-Damien LAURENT [Tue, 1 Sep 2009 19:46:03 +0000 (21:46 +0200)]
Adding strings to translate in tags.js

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug Fixing 3568 : Untranslated strings
Henri-Damien LAURENT [Tue, 1 Sep 2009 08:34:08 +0000 (10:34 +0200)]
Bug Fixing 3568 : Untranslated strings

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoDB rev 054->058
Galen Charlton [Sun, 6 Sep 2009 17:54:17 +0000 (13:54 -0400)]
DB rev 054->058

055: changed OPACSearchForTitleIn per requests in bug 1934
056: Bug 1172 : Add OPACPatronDetails syspref
057: Bug 2576 : Add OPACFinesTab syspref
058: Added primary keys to language tables

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 1934: Final Patch - Fixed Default Values
Nicole Engard [Sun, 6 Sep 2009 17:45:09 +0000 (13:45 -0400)]
Bug 1934: Final Patch - Fixed Default Values

The default values had classes they didn't need assigned
to them.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 2559 Added primary keys to tables per comments
Nicole Engard [Sun, 6 Sep 2009 17:45:08 +0000 (13:45 -0400)]
Bug 2559 Added primary keys to tables per comments

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 2576: Added OPACFinesTab Syspref
Nicole Engard [Sun, 6 Sep 2009 17:45:07 +0000 (13:45 -0400)]
Bug 2576: Added OPACFinesTab Syspref

This preference allows library staff to decide whether to show
the fines tab in the OPAC for logged in patrons.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 1172: Added OPACPatronDetails system preference
Nicole Engard [Sun, 6 Sep 2009 17:45:06 +0000 (13:45 -0400)]
Bug 1172: Added OPACPatronDetails system preference

This patch allows library staff to disable the patron details
tab on the OPAC.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 1934: Changed variables per request in bug report
Nicole Engard [Sun, 6 Sep 2009 17:45:05 +0000 (13:45 -0400)]
Bug 1934: Changed variables per request in bug report

System preference now looking for brackets around variables.
ex. {TITLE} instead of TITLE

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 1003: tweak GetBibliosShelves
Galen Charlton [Sun, 6 Sep 2009 17:05:06 +0000 (13:05 -0400)]
bug 1003: tweak GetBibliosShelves

* correct POD - returns *public* lists that bib
  belongs to
* use fetchall_arrayref to return results in
  one fell swoop
* corrected indentation

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 1003 Added lists to bib details pages
Nicole Engard [Thu, 27 Aug 2009 15:22:15 +0000 (11:22 -0400)]
Bug 1003 Added lists to bib details pages

This patch adds links to all public lists that a bib
record belongs to to the detail page in the OPAC and
the Inranet. If the item is not in any lists nothing
shows on the detail page.  The same goes if virtualshelves
is turned OFF.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3582: Missing usage information for -h / --help switch for rebuild_nozebra.pl
Ricardo Dias Marques [Sun, 6 Sep 2009 16:44:13 +0000 (16:44 +0000)]
Bug 3582: Missing usage information for -h / --help switch for rebuild_nozebra.pl

Fix for Bug 3582:  Missing usage information for -h / --help switch for rebuild_nozebra.pl

http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3582

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agocomment out styles in gb_styles.css
Galen Charlton [Sun, 6 Sep 2009 16:38:30 +0000 (12:38 -0400)]
comment out styles in gb_styles.css

These were added in the labels rework, but do not belong here, since
gb_styles.css should references only CSS classes responsible for
displaying the greybox itself, not the content inside it.  In particular,
the generic table styles were causing the icons added by tablesorter
to be tiled in the opac-detail template.

To finish this work, the styles should be taken out entirely and
moved to whichever lables template they were supposed to affect

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 2713 Make Marc & ISBD View match Normal template
Nicole Engard [Wed, 26 Aug 2009 17:54:40 +0000 (13:54 -0400)]
Bug 2713 Make Marc & ISBD View match Normal template

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoDB rev 053->054: add altcontactcountry and B_address2 to borrowers and deletedborrowers
Galen Charlton [Sun, 6 Sep 2009 14:22:01 +0000 (10:22 -0400)]
DB rev 053->054: add altcontactcountry and B_address2 to borrowers and deletedborrowers

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoBug 3464: Added altcontactcountry and B_address2 to borrowers and deletedborrowers
Katrin Fischer [Fri, 4 Sep 2009 15:37:14 +0000 (17:37 +0200)]
Bug 3464: Added altcontactcountry and B_address2 to borrowers and deletedborrowers

- added altcontactcountry and B_address2 to tables borrowers and deletedborrowers so that all addresses offer the same fields
- changed B_country and country to work with syspref BorrowerMandatoryField
- changed display of Alternate Address on borrower detail page, added labels, lines and edit button to match the other sections

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoGet rid of a few warnings in the bulkmarcimport script: C4/Biblio.pm, hunks #1, ...
Sébastien Hinderer [Thu, 3 Sep 2009 18:11:09 +0000 (20:11 +0200)]
Get rid of a few warnings in the bulkmarcimport script: C4/Biblio.pm, hunks #1, #2: a warning occurring in NoZebra configurations. C4/Biblio.pm hunk #3: warning occurring in Unimarc MARC flavour. misc/migration_tools/bulkmarcimport.pl hunk #1: warning occurring when no default format is specified on command-line with -m switch.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agobug 3581: fix staff permission for item circ alerts
Galen Charlton [Sun, 6 Sep 2009 13:45:52 +0000 (09:45 -0400)]
bug 3581: fix staff permission for item circ alerts

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoRevamp interface of branch transfer limits to give finer conrol of bulk selections.
Owen Leonard [Mon, 31 Aug 2009 13:58:20 +0000 (08:58 -0500)]
Revamp interface of branch transfer limits to give finer conrol of bulk selections.

Adds selection by row and by column, all/none/toggle for individual ccode/itype sets, and a tabbed interface for a more compact display.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
15 years agoTighten up layout of item circulation alerts interface, putting checkout and checkin...
Owen Leonard [Mon, 31 Aug 2009 18:40:08 +0000 (13:40 -0500)]
Tighten up layout of item circulation alerts interface, putting checkout and checkin table in tabs.

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