]> git.koha-community.org Git - koha.git/log
koha.git
16 years agobug 2502: correctly check patron account expiration
Galen Charlton [Thu, 14 Aug 2008 16:13:50 +0000 (11:13 -0500)]
bug 2502: correctly check patron account expiration

When placing a hold request from the staff interface,
now correctly indicate if the patron account has expired.
Prior to this patch, would warn that the account
had expired even when the expiry date is in the future,
and vice versa.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agobug 2520: don't change item-level requests to bib-level
Galen Charlton [Thu, 14 Aug 2008 15:43:08 +0000 (10:43 -0500)]
bug 2520: don't change item-level requests to bib-level

Prior to this fix, changing the priority of any hold requests
in the queue of requests for a bib would convert
all item-level requests to title-level requests.

As part of this fix, improved display of the holds queue
so that item-level and bib-level requests can be more
clearly distinguished.

Documentation note: new screenshot of list of requests for
a bib in the staff interface.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agobug 2521: distinguish types of hold requests
Galen Charlton [Thu, 14 Aug 2008 15:43:09 +0000 (10:43 -0500)]
bug 2521: distinguish types of hold requests

Title-level and item-level requests are now more
clearly distinguished in the patron details page
and the patron checkout page.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agobug 2518: remove useless patron and branch lookups
Galen Charlton [Thu, 14 Aug 2008 15:43:06 +0000 (10:43 -0500)]
bug 2518: remove useless patron and branch lookups

AddIssue does not use the results of the lookup
of the patron whose hold request was preempted
by the issue.  This patch now leaves a no-op in
the '$restype eq "Waiting"' test, but I'm not going to
refactor the hold cancellation logic now.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agobug 2519: clear waitingdate if request is moved off waiting status
Galen Charlton [Thu, 14 Aug 2008 15:43:07 +0000 (10:43 -0500)]
bug 2519: clear waitingdate if request is moved off waiting status

* Changed C4::Reserves::ModReserve so that if using it to take an
  item off the hold shelf, reserves.waitingdate is cleared.
* Improved POD.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoHave zebrasrv log less
Michael Hafen [Wed, 13 Aug 2008 18:43:52 +0000 (12:43 -0600)]
Have zebrasrv log less

Better to fill the hard drive with biblio than with zebra logs ;)

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agokohabug 2507 Fixing labels search to indicate keyword rather than title search
Chris Nighswonger [Wed, 13 Aug 2008 14:38:25 +0000 (09:38 -0500)]
kohabug 2507 Fixing labels search to indicate keyword rather than title search

Documentation may require an updated screen shot

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agomasthead - realign terminology for Tag Cloud
Joe Atzberger [Tue, 12 Aug 2008 20:56:28 +0000 (15:56 -0500)]
masthead - realign terminology for Tag Cloud

Tag Cloud should link to user-generated tags, in a cloud display.
What used to be called "Tag Cloud" (ISBD subject links for UNIMARC libraries)
should be called a "Subject ...".  AFAICT it doesn't currently use a "cloudy"
display, so some other term might be more appropriate.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoFixing a couple of bugs in the package
Chris Cormack [Sun, 10 Aug 2008 06:50:47 +0000 (18:50 +1200)]
Fixing a couple of bugs in the package

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoWorking on preconfiguring for the package
Chris Cormack [Sat, 9 Aug 2008 23:35:58 +0000 (11:35 +1200)]
Working on preconfiguring for the package

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBumping patch number, new package release
Chris Cormack [Tue, 5 Aug 2008 21:07:13 +0000 (09:07 +1200)]
Bumping patch number, new package release

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoStarting work on the postinst file
Chris Cormack [Tue, 5 Aug 2008 10:05:23 +0000 (22:05 +1200)]
Starting work on the postinst file

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoMore work on packaging
Chris Cormack [Mon, 4 Aug 2008 23:05:40 +0000 (11:05 +1200)]
More work on packaging

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoFixing some bugs in the package, updating dependencies
Chris Cormack [Mon, 4 Aug 2008 22:35:49 +0000 (10:35 +1200)]
Fixing some bugs in the package, updating dependencies

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBumping patch number
Chris Cormack [Mon, 4 Aug 2008 22:22:36 +0000 (10:22 +1200)]
Bumping patch number

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoStill working
Chris Cormack [Sun, 3 Aug 2008 10:12:54 +0000 (22:12 +1200)]
Still working

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoKeeping on working on the packaging
Chris Cormack [Sun, 3 Aug 2008 09:49:05 +0000 (21:49 +1200)]
Keeping on working on the packaging

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoMore packaging work
Chris Cormack [Sun, 3 Aug 2008 09:26:49 +0000 (21:26 +1200)]
More packaging work

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoFiles needed for packaging
Chris Cormack [Sun, 3 Aug 2008 09:20:33 +0000 (21:20 +1200)]
Files needed for packaging

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [18/18]: fixing pod syntax in C4/SIP/Sip/MsgType.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:53 +0000 (10:11 -0500)]
Bug 2400 [18/18]: fixing pod syntax in C4/SIP/Sip/MsgType.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [17/18]: fixing pod syntax in C4/SIP/ILS/Item.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:52 +0000 (10:11 -0500)]
Bug 2400 [17/18]: fixing pod syntax in C4/SIP/ILS/Item.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [16/18]: fixing pod syntax in C4/SIP/ILS/Patron.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:51 +0000 (10:11 -0500)]
Bug 2400 [16/18]: fixing pod syntax in C4/SIP/ILS/Patron.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [15/18]: fixing pod syntax in C4/External/BakerTaylor.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:50 +0000 (10:11 -0500)]
Bug 2400 [15/18]: fixing pod syntax in C4/External/BakerTaylor.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [14/18]: fixing pod syntax in C4/Barcodes/incremental.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:49 +0000 (10:11 -0500)]
Bug 2400 [14/18]: fixing pod syntax in C4/Barcodes/incremental.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [13/18]: fixing pod syntax in C4/Barcodes/hbyymincr.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:48 +0000 (10:11 -0500)]
Bug 2400 [13/18]: fixing pod syntax in C4/Barcodes/hbyymincr.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [12/18]: fixing pod syntax in C4/NewsChannels.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:47 +0000 (10:11 -0500)]
Bug 2400 [12/18]: fixing pod syntax in C4/NewsChannels.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [11/18]: fixing pod syntax in C4/Labels.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:46 +0000 (10:11 -0500)]
Bug 2400 [11/18]: fixing pod syntax in C4/Labels.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [10/18]: fixing pod syntax in C4/ImportBatch.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:45 +0000 (10:11 -0500)]
Bug 2400 [10/18]: fixing pod syntax in C4/ImportBatch.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [9/18]: fixing pod syntax in C4/Overdues.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:44 +0000 (10:11 -0500)]
Bug 2400 [9/18]: fixing pod syntax in C4/Overdues.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [8/18]: fixing pod syntax in C4/Koha.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:43 +0000 (10:11 -0500)]
Bug 2400 [8/18]: fixing pod syntax in C4/Koha.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [7/18]: fixing pod syntax in C4/Barcodes.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:42 +0000 (10:11 -0500)]
Bug 2400 [7/18]: fixing pod syntax in C4/Barcodes.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [6/18]: fixing pod syntax in C4/Serials.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:41 +0000 (10:11 -0500)]
Bug 2400 [6/18]: fixing pod syntax in C4/Serials.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [5/18]: fixing pod syntax in C4/SMS.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:40 +0000 (10:11 -0500)]
Bug 2400 [5/18]: fixing pod syntax in C4/SMS.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [4/18]: fixing pod syntax in C4/Reports.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:39 +0000 (10:11 -0500)]
Bug 2400 [4/18]: fixing pod syntax in C4/Reports.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [3/18]: fixing pod syntax in C4/Log.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:38 +0000 (10:11 -0500)]
Bug 2400 [3/18]: fixing pod syntax in C4/Log.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [2/18]: fixing pod syntax in C4/Scheduler.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:37 +0000 (10:11 -0500)]
Bug 2400 [2/18]: fixing pod syntax in C4/Scheduler.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoBug 2400 [1/18]: fixing pod syntax in C4/Acquisitions.pm
Andrew Moore [Tue, 12 Aug 2008 15:11:36 +0000 (10:11 -0500)]
Bug 2400 [1/18]: fixing pod syntax in C4/Acquisitions.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agobug 2504: switch version number in HEAD to 3.1
Galen Charlton [Mon, 11 Aug 2008 21:09:29 +0000 (16:09 -0500)]
bug 2504: switch version number in HEAD to 3.1

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
16 years agoNomenclature cleanup prior to release v3.00.00
Joshua Ferraro [Sun, 10 Aug 2008 21:40:37 +0000 (16:40 -0500)]
Nomenclature cleanup prior to release

16 years agoChanging nomenclature prior to release, removing -stable
Joshua Ferraro [Sun, 10 Aug 2008 21:39:53 +0000 (16:39 -0500)]
Changing nomenclature prior to release, removing -stable

16 years agoUpdate labels formatstring parse to pick the correct item tag from MARC data.
Ryan Higgins [Sun, 10 Aug 2008 21:07:11 +0000 (16:07 -0500)]
Update labels formatstring parse to pick the correct item tag from MARC data.

This patch allows use of "952a" e.g. in labels format string, getting the item-level
data from the correct MARC tag.  Previously it just grabbed the data from the first item tag.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoUpdate longoverdue.pl cron job to manage setting lost values.
Ryan Higgins [Sun, 10 Aug 2008 20:42:29 +0000 (15:42 -0500)]
Update longoverdue.pl cron job to manage setting lost values.

This patch deprecates the NoReturnSetLost system preference, which, as it
turns out, was not implemented anyway.  New longoverdue script allows one to
specify on the commandline system-wide delays for changing items to different
lost statuses, and optionally charge for the item.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding some missing folks to the About page
Joshua Ferraro [Sun, 10 Aug 2008 20:52:49 +0000 (15:52 -0500)]
Adding some missing folks to the About page

16 years agoAdding three statistics files that NPL uses, they don't
Joshua Ferraro [Sun, 10 Aug 2008 20:38:42 +0000 (15:38 -0500)]
Adding three statistics files that NPL uses, they don't
work 100% with stock 3.0 yet but are good examples of
custom scripts that libraries might want to write and
schedule periodically

16 years agoUpdates to the example crontab
Joshua Ferraro [Sun, 10 Aug 2008 20:18:48 +0000 (15:18 -0500)]
Updates to the example crontab

16 years agoRemove biblio.* from sample notice templates and
Joshua Ferraro [Sun, 10 Aug 2008 19:49:56 +0000 (14:49 -0500)]
Remove biblio.* from sample notice templates and
replace with <<items.content>>

16 years agoFix for 2492: Mail::Sendmail chokes on utf-8 [ process_message_queue.pl ]
Joshua Ferraro [Sun, 10 Aug 2008 19:42:47 +0000 (14:42 -0500)]
Fix for 2492: Mail::Sendmail chokes on utf-8 [ process_message_queue.pl ]

16 years agoUpdate fines cronjob: remove redundant scripts, remove some superfluous code in remai...
Ryan Higgins [Sun, 10 Aug 2008 12:24:03 +0000 (07:24 -0500)]
Update fines cronjob: remove redundant scripts, remove some superfluous code in remaining fines.pl.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMinor update to README for RM
Joshua Ferraro [Sun, 10 Aug 2008 14:48:22 +0000 (09:48 -0500)]
Minor update to README for RM

16 years agoUpdates to the subtag registry for new translations
Joshua Ferraro [Sun, 10 Aug 2008 14:45:05 +0000 (09:45 -0500)]
Updates to the subtag registry for new translations
Updates to the RElease Manager's notes
Fix Danish langauge from dk to da

16 years agoTranslation updates prior to 3.0-stable release
Joshua Ferraro [Sun, 10 Aug 2008 13:24:00 +0000 (08:24 -0500)]
Translation updates prior to 3.0-stable release

16 years agoReverting an earlier change to overdue.pl (still broken) and
Joshua Ferraro [Sun, 10 Aug 2008 11:45:50 +0000 (06:45 -0500)]
Reverting an earlier change to overdue.pl (still broken) and
fixing a translation problem with borrowers_stats.ptmpl:

xgettext.pl: Warning: borrowers_stats.tmpl: line 28: SGML "closed start tag" notation: <p<!-- TMPL_IF NAME="debug"--> class="debug"<

16 years agoRelease Notes for 3.0-stable
Joshua Ferraro [Sun, 10 Aug 2008 11:44:43 +0000 (06:44 -0500)]
Release Notes for 3.0-stable

16 years agoFinal cleanup of labels for 3.0
Ryan Higgins [Sun, 10 Aug 2008 10:25:55 +0000 (05:25 -0500)]
Final cleanup of labels for 3.0

This patch adds the callnum_split and text_justify options to the templates,
fixes bad javascript to switch between 'formatstring' and fixed-field means of specifying labels content,
fixes csv output when fixed-fields specifiers are used, and adds some help text for the formatstring case.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agofix for 2382: Self Checkout Won't Work for Staff with Circ
Joshua Ferraro [Sun, 10 Aug 2008 00:47:34 +0000 (19:47 -0500)]
fix for 2382: Self Checkout Won't Work for Staff with Circ

16 years agoPrevent borrower import from overwriting data that it shouldn't, and polish off a...
Ryan Higgins [Sat, 9 Aug 2008 20:27:27 +0000 (15:27 -0500)]
Prevent borrower import from overwriting data that it shouldn't, and polish off a couple error conditions.

When an imported patron matches an existing one, keep data in the original record unless our import file
includes that column.  Also, check for branch & categorycodes, and produce error if invalid.  Finally,
auto-calculate expiry date if not given.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agokohabug 2475 [3/?] Adding splitting algorithm for fiction call numbers
Chris Nighswonger [Sat, 9 Aug 2008 18:03:01 +0000 (13:03 -0500)]
kohabug 2475 [3/?] Adding splitting algorithm for fiction call numbers

This patch also looks for the call number type in items.cn_source and if
that is NULL, falls back to the DefaultClassificationSource syspref.

Splitting algorithms need to be written for other known/supported call
number systems (ie. sudocs, udc, generic, etc.)

Documentation Notes:

For now, if a call number falls through the regex checking for formal lccn or ddcn,
it is passed through the regex for a fiction call number; if it falls through that,
it is returned unsplit.

If a call number does not split, please update enhancement request 2500 with the
requested information.

http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2500

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years ago2433: Cannot apply manual credits with an item number
Joshua Ferraro [Sat, 9 Aug 2008 17:56:04 +0000 (12:56 -0500)]
2433: Cannot apply manual credits with an item number

This patch changes the behavior so that you can enter in
a barcode instead of an itemnumber for the manual credit
and invoice screens. Also, the borrower's account page now
displays a link back to the item record if an item was
linked to the charge

16 years ago2487: Collection code select boxes in Adv search show both code and description
Joshua Ferraro [Sat, 9 Aug 2008 17:06:04 +0000 (12:06 -0500)]
2487: Collection code select boxes in Adv search show both code and description

16 years agocommented out unconditional warns
Galen Charlton [Sat, 9 Aug 2008 15:53:15 +0000 (10:53 -0500)]
commented out unconditional warns

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBug fix : use delete_field/insert_grouped_field rather than replace_with
Henri-Damien LAURENT [Sat, 9 Aug 2008 15:53:14 +0000 (10:53 -0500)]
Bug fix : use delete_field/insert_grouped_field rather than replace_with

replace_with maight have unexpected behaviour.
Has to test merge_authority.pl

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBug Fixing merge_authority.pl
Henri-Damien LAURENT [Sat, 9 Aug 2008 15:53:13 +0000 (10:53 -0500)]
Bug Fixing merge_authority.pl

merge works on the fly now.
But for an obscure reason, merge_authority.pl fails to update database when lanched on command line.
Adding one table to LOCK for noZebra UPDATE in Biblio.pm
You should remove C4::Search from merg_authority.pl

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years ago2482: Default Letter on Notice Triggers Causes Error
Joshua Ferraro [Sat, 9 Aug 2008 13:08:11 +0000 (08:08 -0500)]
2482: Default Letter on Notice Triggers Causes Error

Changing 'Default' to 'No notice' as per solution
suggested in bug report

16 years agokohabug 2475 [2/2] Porting LCCN splitting code to Labels.pm
Chris Nighswonger [Sat, 9 Aug 2008 12:36:27 +0000 (07:36 -0500)]
kohabug 2475 [2/2] Porting LCCN splitting code to Labels.pm

This patch corrects the csv field list processing alogrithm in two areas:

1. It adjusts the regexp to handle quoted fields with embedded spaces.
2. It adds descrimination for individual 952 subfields.

Documentation needs to be written for the label layout editor.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agokohabug 2463 & 2464 Removing unlinked fields from label-edit-layout.pl
Chris Nighswonger [Sat, 9 Aug 2008 12:36:26 +0000 (07:36 -0500)]
kohabug 2463 & 2464 Removing unlinked fields from label-edit-layout.pl

This patch removes unlinked fields from the 'Choose Order Of Text Fields to Print'
option on label-edit-layout.pl

It also adds code to make the 'Itemtype' field respect the item-level_itypes syspref.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agokohabug 2475 [1/2] Porting LCCN splitting code to Labels.pm
Chris Nighswonger [Sat, 9 Aug 2008 12:36:25 +0000 (07:36 -0500)]
kohabug 2475 [1/2] Porting LCCN splitting code to Labels.pm

This patch ports LCCN splitting code from Koha 2.2.9 to Koha 3.0
This algorithm has been ported just as it appears on some production
systems. LCCNs that do not split correctly should have a bug opened
and include an exact example so that the regexp's can be adjusted.

This patch also adds code to split DDCNs using the *loosest* possible
interpretation of DDCN rules. On the simple end, the DDCN split
algorithm will handle being passed just a Dewey call number.
However, there may be some unusually complex DDCNs that will not
split properly. These will need to have a bug submitted for them
including a specific example so that the regexp's can be adjusted.

The correct choice of splitting alogrithm is determimed by the
item level classification source (items.cn_source).

Documentation should be updated to reflect these changes. Please include
the bit about complex call numbers and the need of a bug report.

[LL Bug 26]

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBug 2410: Can't use string ("0") as an ARRAY ref while "strict refs" in use at detail...
Joshua Ferraro [Sat, 9 Aug 2008 13:01:14 +0000 (08:01 -0500)]
Bug 2410: Can't use string ("0") as an ARRAY ref while "strict refs" in use at detail.pl line 219

Thanks to HDL for your patch, I couldn't get it to apply so I did it manually

No change to documentation

16 years ago2425: Spelling Error - Permissions
Joshua Ferraro [Sat, 9 Aug 2008 12:45:35 +0000 (07:45 -0500)]
2425: Spelling Error - Permissions

16 years agoUpdates to the installation instructions
Joshua Ferraro [Sat, 9 Aug 2008 12:03:37 +0000 (07:03 -0500)]
Updates to the installation instructions

In particular, removing references to the zebraqueue daemon
and replacing with mention of the -z option with rebuild_zebra.pl

16 years agoTemporary fix for bug 2483: t/Barcodes.t has database dependent tests in it
Joshua Ferraro [Sat, 9 Aug 2008 11:49:21 +0000 (06:49 -0500)]
Temporary fix for bug 2483: t/Barcodes.t has database dependent tests in it

Moving Barcodes.t to db_dependent to avoid failure of make test

16 years agoResolves problem where duplicate blank barcodes threw errors
Joshua Ferraro [Fri, 8 Aug 2008 20:15:23 +0000 (15:15 -0500)]
Resolves problem where duplicate blank barcodes threw errors
form now only checks for duplication when the barcode is non-empty

16 years agofix for #2440 : acquisition recieve & item creation
Paul POULAIN [Thu, 31 Jul 2008 12:19:51 +0000 (14:19 +0200)]
fix for #2440 : acquisition recieve & item creation

It has to be reintroduced, as some (most in France) libraries don't create
items on recieve, but after "equipment" step.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agobug 2496: add 'edit' link to authority search results
Galen Charlton [Fri, 8 Aug 2008 19:22:59 +0000 (14:22 -0500)]
bug 2496: add 'edit' link to authority search results

When search for an authority record from the bib
record editor, a new link is added to each
authority result to edit the authority record.  This
allows a cataloger to do the following:

1. Start editing a bib record
2. Click on the '...' to select an authorized heading
   for an authority-controlled field.
3. Look at the results in the pop-up window and
   see that an authority record needs correction.
4. Click on the 'edit authority' link.  This allows
   the authority to be revised.  Note that this
   takes place in the popup window, not the originally
   bib editing window.
5. Save the authority record, then close the popup
   window and redo the heading search.

For various reasons, this not a perfect workflow; this
patch is designed to satisfy an immediate requirement
but needs to be reworked in 3.2.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRemove <br /> from syspref descriptions.
Joe Atzberger [Thu, 7 Aug 2008 16:02:19 +0000 (11:02 -0500)]
Remove <br /> from syspref descriptions.

The template HTML-escapes the descriptions now (as it should).
So we can't make them prettier w/ HTML inserted.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoLink correction (affected only non-js users).
Owen Leonard [Fri, 8 Aug 2008 18:21:06 +0000 (13:21 -0500)]
Link correction (affected only non-js users).

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdd help text indicating that one should not use stopwords with Zebra.
Ryan Higgins [Fri, 8 Aug 2008 17:28:48 +0000 (12:28 -0500)]
Add help text indicating that one should not use stopwords with Zebra.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoPartial fix for 2446: single word queries that were stopwords
Joshua Ferraro [Fri, 8 Aug 2008 19:09:52 +0000 (14:09 -0500)]
Partial fix for 2446: single word queries that were stopwords
weren't being striped out of the query

16 years agoFix to prevent crash on null dateexpiry.
Joe Atzberger [Fri, 8 Aug 2008 17:15:10 +0000 (12:15 -0500)]
Fix to prevent crash on null dateexpiry.

Error was:
    Usage: Date::Calc::Date_to_Days(year, month, day)

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdding "New Item" menu option. Jumps to anchor for Add Item form.
Owen Leonard [Fri, 8 Aug 2008 16:06:47 +0000 (11:06 -0500)]
Adding "New Item" menu option. Jumps to anchor for Add Item form.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoChanging tabindex="-1" to tabindex="0". Fixes 2493.
Owen Leonard [Fri, 8 Aug 2008 14:43:44 +0000 (09:43 -0500)]
Changing tabindex="-1" to tabindex="0". Fixes 2493.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMinor markup correction.
Owen Leonard [Fri, 8 Aug 2008 14:43:34 +0000 (09:43 -0500)]
Minor markup correction.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agokohabug 2458 Disallowing non-SELECT SQL in reports module
Chris Nighswonger [Fri, 8 Aug 2008 13:22:49 +0000 (08:22 -0500)]
kohabug 2458 Disallowing non-SELECT SQL in reports module

This patch enforces SELECT-only SQL in the reports module.
It introduces code to check SQL in two places. The first is
when a save is attempted on a user constructed SQL statement.
If a non-SELECT SQL statement is entered, the user will be
presented with an error message and a button giving the
option of editing the SQL. The second is when any SQL is
executed. If execution of a non-SELECT SQL statement is
attempted, the user is presented with an error message and
instructed to delete that report as the SQL is invalid.

The second check is intended as a safety net as no non-SELECT
SQL should ever be saved.

It may be well to document the proper usage of the direct SQL
entry type report.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoRevert "Add missing to and from email addresses to user and admin EnqueueLetter calls...
Joshua Ferraro [Fri, 8 Aug 2008 15:51:45 +0000 (10:51 -0500)]
Revert "Add missing to and from email addresses to user and admin EnqueueLetter calls, respectively. Add extra level to verbosity."

This reverts commit 67f229cba7395485a22fc0effa67ca4f592408f4.

16 years agoAdd missing to and from email addresses to user and admin EnqueueLetter calls, respec...
Southeastern University [Fri, 8 Aug 2008 01:38:06 +0000 (21:38 -0400)]
Add missing to and from email addresses to user and admin EnqueueLetter calls, respectively. Add extra level to verbosity.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoaddbiblio - HTML validation fix, add type to link
Joe Atzberger [Thu, 7 Aug 2008 22:18:25 +0000 (17:18 -0500)]
addbiblio - HTML validation fix, add type to link

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoauth_finder - HTML validation fixes
Joe Atzberger [Thu, 7 Aug 2008 22:06:41 +0000 (17:06 -0500)]
auth_finder - HTML validation fixes

Missing </tr> and extra </select>

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agokohabug 2427 Correcting C4::Items:: _koha_new_item to populate items.copynumber
Chris Nighswonger [Thu, 7 Aug 2008 21:05:41 +0000 (16:05 -0500)]
kohabug 2427 Correcting C4::Items:: _koha_new_item to populate items.copynumber

The INSERT was missing the copynumber parameter. moredetail.pl was also not setting
the copyvol template variable. This patch corrects these issues so that the copynumber
is both inserted when a new item is created (including during a bulkmarcimport.pl run)
and displayed properly on moredetail.pl

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agokohabug 2448 Correcting Alignment of Column Headers
Chris Nighswonger [Wed, 6 Aug 2008 20:43:51 +0000 (15:43 -0500)]
kohabug 2448 Correcting Alignment of Column Headers

This patch corrects the alignment of the column headers in the overdues list
on the 'Overdue' tab on opac-user.pl It also corrects the template to display
the item type rather than the Koha collection type.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoAdd missing </td> to opac-user.tmpl
Joe Atzberger [Wed, 6 Aug 2008 20:17:51 +0000 (15:17 -0500)]
Add missing </td> to opac-user.tmpl

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoMinor change to correct offset problem for Cart popup. Libraries with opacheader...
Owen Leonard [Wed, 6 Aug 2008 19:49:30 +0000 (14:49 -0500)]
Minor change to correct offset problem for Cart popup. Libraries with opacheader markup specified were finding their Cart popup appearing out of place.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBug 2084 [2/2]: Database version 3.00.00.107: adding warnings to three system preferences
Andrew Moore [Wed, 6 Aug 2008 16:14:26 +0000 (11:14 -0500)]
Bug 2084 [2/2]: Database version 3.00.00.107: adding warnings to three system preferences

This patch adds warnings to the OPACShelfBrowser, CataloguingLog, and NoZebra system preferences. Using
them on busy koha installations has proven to be rather resource intensive.

This is considered a stopgap solution. Making these features less resource using to run
would be preferred.

Note to documentation writers: screenshots of these system preferences could be updated, but
no functionality has changed.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBug 2084 [1/2]: adding warning to overdues report
Andrew Moore [Wed, 6 Aug 2008 16:14:25 +0000 (11:14 -0500)]
Bug 2084 [1/2]: adding warning to overdues report

This patch adds a warning to the staff interface on the circulation page
to indicate that the overdues report is resource intensive on large installations.

This is considered a stopgap solution. Ideally, this report should be changed in order
to make it usable even for large installations.

Documentation note: Although no functionality has changed, any screenshots of the
circulation page on the staff interface should be updated.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agobug 2479: allow MARC21 bib 440 to link to authorities
Galen Charlton [Wed, 6 Aug 2008 16:32:15 +0000 (11:32 -0500)]
bug 2479: allow MARC21 bib 440 to link to authorities

Fixed overly-strict interpretation of OCLC practice
that prevented 440 series statement/added entries
from linking to the appropriate series authority
record.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agopartial fix for #2471, (overdue notice sent twice)
Paul POULAIN [Tue, 5 Aug 2008 16:53:29 +0000 (18:53 +0200)]
partial fix for #2471, (overdue notice sent twice)

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoReformatting serials item edit screen to eliminate label truncation and give it addit...
Owen Leonard [Wed, 6 Aug 2008 15:35:05 +0000 (10:35 -0500)]
Reformatting serials item edit screen to eliminate label truncation and give it additem-like layout. Also correcting some markup errors, both in the template and in markup generated by Biblio.pm. HDL: I assume this will be superceded at some point by an include, but wasn't sure if that would be in time for 3.0.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agobug 1433: use same bib when adding new subscription from details page
Galen Charlton [Wed, 6 Aug 2008 14:54:42 +0000 (09:54 -0500)]
bug 1433: use same bib when adding new subscription from details page

When viewing the subscription details page of a bib that already
has at least one subscription, clicking on the 'New Subscription'
button in the toolbar will fill in the biblionumber and title
in the new subscription form.

Clicking on the 'New Subscription' button in other context (e.g.,
when viewing the results of a search) will leave the biblionumber
and title fields unpopulated, as there is no specific bib to
use.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoPatron import reform - bug 2287 - expanded error catching and feedback
Joe Atzberger [Wed, 6 Aug 2008 08:44:46 +0000 (03:44 -0500)]
Patron import reform - bug 2287 - expanded error catching and feedback

This incorporates and extends the patch from MJ Ray attached to bug 2287.
Added feedback of up to 25 lines, including for errors at the Text::CSV
parsing level.  This allows feedback for problems than involve encoding.
Added link to download "starter" CSV file (with all the columns).

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBug fixing : 2470 Serials forgetting library
Henri-Damien LAURENT [Tue, 5 Aug 2008 14:27:14 +0000 (16:27 +0200)]
Bug fixing : 2470 Serials forgetting library

Using default values for PrepareItemrecordDisplay
It changes Biblio.pm
Adding a hash with default values to PrepareItemrecordDisplay
Usunf that API in Serials.pm and serials-edit.pl

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agoBug fix : 2361 Location was lost on subscription update
Henri-Damien LAURENT [Wed, 6 Aug 2008 12:59:58 +0000 (14:59 +0200)]
Bug fix : 2361 Location was lost on subscription update

Location is now defaulted to the location of the librarian
When updating subscription, subscription branchcode is taken into account.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
16 years agobugfix for #2472
Paul POULAIN [Tue, 5 Aug 2008 16:53:30 +0000 (18:53 +0200)]
bugfix for #2472

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