]> git.koha-community.org Git - koha.git/log
koha.git
17 years agoAdding truncation ccl attributes which were missing in my commit.
Henri-Damien LAURENT [Fri, 19 Oct 2007 19:32:19 +0000 (14:32 -0500)]
Adding truncation ccl attributes which were missing in my commit.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agomerging some SQL commands to speed up updatedatabase
Paul POULAIN [Sat, 20 Oct 2007 16:36:18 +0000 (18:36 +0200)]
merging some SQL commands to speed up updatedatabase

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoremoving another non-existant plugin
Joshua Ferraro [Sat, 20 Oct 2007 19:39:55 +0000 (14:39 -0500)]
removing another non-existant plugin

17 years agoremoving non-existant plugin
Joshua Ferraro [Sat, 20 Oct 2007 19:29:18 +0000 (14:29 -0500)]
removing non-existant plugin

17 years agoBug Fixing : Adding item had a javascript Error.
Henri-Damien LAURENT [Fri, 19 Oct 2007 19:00:35 +0000 (21:00 +0200)]
Bug Fixing : Adding item had a javascript Error.

So.
There are no more errors on saving an item.
There are still little problems when you duplicate a subfield :
Display table is not adapted
When you reedit, all the duplicate field values are concatenated.
But apart from that, it works.
Donot have time enough to work on it these days.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agofixing mode to 755
Joshua Ferraro [Fri, 19 Oct 2007 15:33:07 +0000 (10:33 -0500)]
fixing mode to 755

17 years agofixing horrible terrible merge problem by reverting
Joshua Ferraro [Fri, 19 Oct 2007 15:20:25 +0000 (10:20 -0500)]
fixing horrible terrible merge problem by reverting

to HDL's last commit

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agofixes to marc21 bib framework
Joshua Ferraro [Fri, 19 Oct 2007 07:12:27 +0000 (02:12 -0500)]
fixes to marc21 bib framework

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agohandle new call number scheme
Joshua Ferraro [Fri, 19 Oct 2007 07:12:26 +0000 (02:12 -0500)]
handle new call number scheme

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoAdding index on userid in the borrowers table
Chris Cormack [Fri, 19 Oct 2007 05:28:03 +0000 (00:28 -0500)]
Adding index on userid in the borrowers table

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agocirculation.pl cleaned up. I think you'll like the difference. Less
Joe Atzberger [Thu, 18 Oct 2007 23:42:37 +0000 (18:42 -0500)]
circulation.pl cleaned up. I think you'll like the difference. Less

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoImproving Search : Adding truncation management (right, left, rightleft,not inside)
Henri-Damien LAURENT [Thu, 18 Oct 2007 23:53:54 +0000 (18:53 -0500)]
Improving Search : Adding truncation management (right, left, rightleft,not inside)

Bug Fixing : Do Not delete stopwords when phrase search.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoremoving marc21_ plugin that doesn't exist yet from the framework
Joshua Ferraro [Fri, 19 Oct 2007 01:39:38 +0000 (20:39 -0500)]
removing marc21_ plugin that doesn't exist yet from the framework

17 years agoPatch from Galen Charlton, removing $Id$ $Log$ and $Revision$ from files
Chris Cormack [Thu, 18 Oct 2007 23:53:55 +0000 (18:53 -0500)]
Patch from Galen Charlton, removing $Id$ $Log$ and $Revision$ from files

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agofix for bug 1501 - removed reference to marc_biblio from framework test
Galen Charlton [Thu, 18 Oct 2007 23:53:53 +0000 (18:53 -0500)]
fix for bug 1501 - removed reference to marc_biblio from framework test

Also added results of two subtests missing from the template.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agostart of reworking call number handling and other Biblio changes
Galen Charlton [Thu, 18 Oct 2007 23:53:52 +0000 (18:53 -0500)]
start of reworking call number handling and other Biblio changes

Most of this commit by Joshua Ferraro.
updatedatabase changes by Galen Charlton.

Major changes:

This commit includes a lot of fairly major changes
to Koha's Biblio handling, largest is the addition
and deletion of several columns in the biblioitems,
items tables, as well as cleanup of deletedbiblioitems,
deleteditems tables. Some of the changes are simple
cleanup, but most have to do with improvements to
storage of call numbers in Koha.

Also, I had to clean up the _koha_* routines quite a
lot to make them work -- there was lots of data just
being lost because columns weren't being updated.

I'm still not completely convinced that the items
table is being treated as authoritative for items
data, investigating further.

DB Changes (updated in kohastructure.sql and in
updatedatabases):

ADDED:
biblioitems.cn_source   ( auth value, CN_SOURCE, stores the source of the
                          call number: DDC, LCC, NLM, etc.)
biblioitems.cn_class    ( plugin, marc21_callnumber.pl, helps fill in
                          the rest of the biblio-level fields)
biblioitems.cn_item
biblioitems.cn_suffix
biblioitems.cn_sort     ( for zebra sorting, stored as a decimal number)
biblioitems.totalissues ( for counting the total times issued )

items.cn_source         ( auth value, CN_SOURCE, stores DDC, LCC, NLM, etc.)
items.itemcallnumber    ( plugin, marc21_itemcallnumber.pl, helps fill in
                          the itemcallnumber based on the record data )
items.cn_sort           ( for zebra sorting, stored as a decimal number)
items.ccode             ( auth value, CCODE, stores the Collection Code
                          of the item, can be used as call number prefix
                          by some libraries )
items.uri
items.materials
items.damaged

DELETED:
items.itype
items.cutterextra
biblioitems.classification
biblioitems.subclass
biblioitems.dewey
biblioitems.lcsort
biblioitems.lccn
biblioitems.ccode

DB version now 3.00.00.009.

Minor changes:

* Drop revision history from C4/Biblio.pm
* GetMarcAuthors now returns additional authors (7XX), not
  main authors (1XX)
* Debug warnings in C4/Search.pm commented out

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoAdding 2006 MARC 21 bibliographic update. Adjusting SQL syntax. Adjusting Koha 3...
thd [Wed, 17 Oct 2007 20:20:34 +0000 (15:20 -0500)]
Adding 2006 MARC 21 bibliographic update. Adjusting SQL syntax. Adjusting Koha 3.0 biblioitems and items tables mappings.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoviewlog.pl clean up, uses Dates.pm now
Joe Atzberger [Thu, 18 Oct 2007 23:53:51 +0000 (18:53 -0500)]
viewlog.pl clean up, uses Dates.pm now

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoadmin/stopwords.pl -- More cleanup
Joe Atzberger [Thu, 18 Oct 2007 23:42:16 +0000 (18:42 -0500)]
admin/stopwords.pl -- More cleanup

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoadmin/printers - basic cleanup
Joe Atzberger [Thu, 18 Oct 2007 23:42:15 +0000 (18:42 -0500)]
admin/printers - basic cleanup

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoOrdering items on holdingbranch for ISBD.
Henri-Damien LAURENT [Thu, 18 Oct 2007 23:42:14 +0000 (18:42 -0500)]
Ordering items on holdingbranch for ISBD.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoAdding some more information on issuehistory.
Henri-Damien LAURENT [Thu, 18 Oct 2007 23:37:02 +0000 (18:37 -0500)]
Adding some more information on issuehistory.

Adding itemnumber to issuehistory.pl API
so that one could search for issuehistory of a specific item.
(Useful for IndependantBranches)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoMinor Bug Fix : Using IntranetBiblioDefaultView in Intranet
Henri-Damien LAURENT [Thu, 18 Oct 2007 23:37:01 +0000 (18:37 -0500)]
Minor Bug Fix : Using IntranetBiblioDefaultView in Intranet

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agobug Fixing bugs.koha.org 1479
Henri-Damien LAURENT [Thu, 18 Oct 2007 10:08:17 +0000 (05:08 -0500)]
bug Fixing bugs.koha.org 1479

Porting userinterface improvements from biblios to items.

I have to port that also into serialsadditems.
Maybe there could be a way to have only one place for MARCinput management.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoMinor : Adding item count to result lists.
Henri-Damien LAURENT [Thu, 18 Oct 2007 09:56:30 +0000 (04:56 -0500)]
Minor : Adding item count to result lists.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBug Fixing : If multiple mandatory subfield and one is empty, unable to save biblio.
Henri-Damien LAURENT [Thu, 18 Oct 2007 09:50:24 +0000 (04:50 -0500)]
Bug Fixing : If multiple mandatory subfield and one is empty, unable to save biblio.

Duplicate a biblio with 3 authors, blank out one among them and try to save.
It was impossible.
Now, it works.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBug fixing : itemtype values were not shown on ISBD
Henri-Damien LAURENT [Thu, 18 Oct 2007 09:19:46 +0000 (04:19 -0500)]
Bug fixing : itemtype values were not shown on ISBD

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoPatch from Joe Atzberger to remove $Id$ and $Log$ from scripts
Chris Cormack [Thu, 18 Oct 2007 09:05:39 +0000 (04:05 -0500)]
Patch from Joe Atzberger to remove $Id$ and $Log$ from scripts

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoTotal Test Overhaul! Most of these were stubs, and still are.
Joe Atzberger [Thu, 18 Oct 2007 08:46:20 +0000 (03:46 -0500)]
Total Test Overhaul! Most of these were stubs, and still are.

Input.t was replaced because it tested a now obsolete function.
Input.pm has that function commented out.
Several files were renamed to match their counterparts or
correct misspellingz.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoRenamed file to match module. Trivial change.
Joe Atzberger [Thu, 18 Oct 2007 03:19:08 +0000 (22:19 -0500)]
Renamed file to match module. Trivial change.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoAdding new circulation-home, what we ultimately hope to be a "dashboard" interface...
Owen Leonard [Thu, 18 Oct 2007 03:08:06 +0000 (22:08 -0500)]
Adding new circulation-home, what we ultimately hope to be a "dashboard" interface for circulation functions. circulation-home.pl was created by copy-and-paste, so it should be reviewed. Circulation sub-pages' breadcrumb links have been updated to point to circulation-home.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoFormatting admin entry forms, improving breadcrumb navigation.
Owen Leonard [Thu, 18 Oct 2007 02:54:19 +0000 (21:54 -0500)]
Formatting admin entry forms, improving breadcrumb navigation.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBug-Fix : Display ISBN was not correct for ISBN-13
Henri-Damien LAURENT [Wed, 17 Oct 2007 20:20:38 +0000 (15:20 -0500)]
Bug-Fix : Display ISBN was not correct for ISBN-13

Copy/Pasting formulas errors.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agofines management (bugfixes & minor improvement)
Paul POULAIN [Wed, 17 Oct 2007 20:20:37 +0000 (15:20 -0500)]
fines management (bugfixes & minor improvement)

- pay.pl fixed, the librarian can see patron fines & mark them paid
- fines2.pl fixed, the script now calculate the fines correctly from the finerules :
  * itemtype / patron category if it exist
  * itemtype / default if needed
- renamed misc/fines.pl as fines-sanop.pl
- added 2 systempreferences:
  * MaxFine: the max amount a patron can be charged for an item
  * NoReturnSetLost: how many days of late before a non returned item is marked lost & the patron charged for the full cost of replacement
(those values where hardcoded in fines2.pl
- C4/Circulation/Fines.pm has been removed (unused duplicate of C4/Overdues)

Note that SANOP feature about notify levels have NOT been ported here. I think they are too specific now, and the code is poorly written
I've renammed fines.pl to fines-sanop.pl to point that it is specific.
Thus, all notify_id related features are not used by anything (and always 0)
Can be interesting to reintroduce them, but that will probably be a large work...

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoMinor bug fix : all Branches option was not translatable
Henri-Damien LAURENT [Wed, 17 Oct 2007 20:20:36 +0000 (15:20 -0500)]
Minor bug fix : all Branches option was not translatable

Removing blank branch from search.pl to add it in template.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBug Fix : 1484
Henri-Damien LAURENT [Wed, 17 Oct 2007 20:20:35 +0000 (15:20 -0500)]
Bug Fix : 1484

guarantor is now automatically filled in when coming from add Child.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agobugfix for top issues, for branch selector
Paul POULAIN [Tue, 16 Oct 2007 21:02:46 +0000 (16:02 -0500)]
bugfix for top issues, for branch selector

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoSearchMyLibraryFirst : reintroducing behaviour (from 2.2)
Paul POULAIN [Tue, 16 Oct 2007 21:02:45 +0000 (16:02 -0500)]
SearchMyLibraryFirst : reintroducing behaviour (from 2.2)

If the SearchMyLibraryFirst is set, then a logged user will automatically limit the search
to it's own library.

I also did some code cleaning

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoopac-logout fixed
Paul POULAIN [Tue, 16 Oct 2007 21:02:44 +0000 (16:02 -0500)]
opac-logout fixed

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoauthorities : Adding sorting option to opac & sorting mainentry asc by default
Paul POULAIN [Tue, 16 Oct 2007 21:02:43 +0000 (16:02 -0500)]
authorities : Adding sorting option to opac & sorting mainentry asc by default

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoInsecure should not be set to 'NO'
Paul POULAIN [Tue, 16 Oct 2007 21:02:42 +0000 (16:02 -0500)]
Insecure should not be set to 'NO'

but to '0'. No is 'true' for Perl.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoadding YUI tabs support to authority detail
Paul POULAIN [Tue, 16 Oct 2007 21:02:41 +0000 (16:02 -0500)]
adding YUI tabs support to authority detail

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoadding YUI tabs support to MARCdetail.pl
Paul POULAIN [Tue, 16 Oct 2007 21:02:40 +0000 (16:02 -0500)]
adding YUI tabs support to MARCdetail.pl

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBUGfixing authorities editor
Paul POULAIN [Tue, 16 Oct 2007 21:02:39 +0000 (16:02 -0500)]
BUGfixing authorities editor

With the YUI tabs, the SINGLETAB feature (that hides tabs when there is only 1) was bugguy
This commit fixes the problem, and solve some other ones :
- order the fields
- resize the input size (see previous commit in addbiblio.pl)
- remove some unused code
- reindent

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoreintroducing size for fields in addbiblio
Paul POULAIN [Tue, 16 Oct 2007 21:02:38 +0000 (16:02 -0500)]
reintroducing size for fields in addbiblio

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agofix for bug 1499 - normalize ISBN before dupe check
Galen Charlton [Tue, 16 Oct 2007 21:02:37 +0000 (16:02 -0500)]
fix for bug 1499 - normalize ISBN before dupe check

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBugFixing : viewlog.pl was broken (comma missing)
Henri-Damien LAURENT [Tue, 16 Oct 2007 21:02:36 +0000 (16:02 -0500)]
BugFixing : viewlog.pl was broken (comma missing)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoAdding Biblionumber to template param list
Henri-Damien LAURENT [Tue, 16 Oct 2007 21:02:35 +0000 (16:02 -0500)]
Adding Biblionumber to template param list

This enables navigating on MARC/ISBD/Normal View

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoRemoving connexion informations from basket page.
Henri-Damien LAURENT [Tue, 16 Oct 2007 21:02:34 +0000 (16:02 -0500)]
Removing connexion informations from basket page.

It masked biblio information.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBug Fixing ISBD parser had problems with commas
Henri-Damien LAURENT [Tue, 16 Oct 2007 21:02:33 +0000 (16:02 -0500)]
Bug Fixing ISBD parser had problems with commas

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBug Fixing : userid was blanked out in partial edit.
Henri-Damien LAURENT [Tue, 16 Oct 2007 21:02:32 +0000 (16:02 -0500)]
Bug Fixing : userid was blanked out in partial edit.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agopatches for members and resultlists.
Henri-Damien LAURENT [Tue, 16 Oct 2007 21:02:31 +0000 (16:02 -0500)]
patches for members and resultlists.

--
Henri Damien LAURENT et Paul POULAIN
Consultants indépendants
en logiciels libres et bibliothéconomie (http://www.koha-fr.org)

>From 616f0a385848b9a1fee7c76ff7b1f3be090ccb66 Mon Sep 17 00:00:00 2001
From: Henri-Damien LAURENT <henridamien@koha-fr.org>
Date: Tue, 16 Oct 2007 15:20:45 +0200
Subject: [PATCH] Bug Fixing : userid was blanked out in partial edit.
Adding some checks on branch presence for independant branches

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoDates.pm: perl test to accompany Dates.pm functions.
Joe Atzberger [Tue, 16 Oct 2007 21:02:29 +0000 (16:02 -0500)]
Dates.pm: perl test to accompany Dates.pm functions.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoDates.pm: Added functions format_date and format_date_in_iso as possible drop-in...
Joe Atzberger [Tue, 16 Oct 2007 21:02:28 +0000 (16:02 -0500)]
Dates.pm: Added functions format_date and format_date_in_iso as possible drop-in replacements for

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoRevert "Minor overhaul of installer WITHOUT thorough testing. Steps broken out into"
Joshua Ferraro [Wed, 17 Oct 2007 11:58:48 +0000 (06:58 -0500)]
Revert "Minor overhaul of installer WITHOUT thorough testing. Steps broken out into"

This reverts commit b9f141a592b15339fc36f07d6350c991defaf585.

17 years agoMinor overhaul of installer WITHOUT thorough testing. Steps broken out into
Joe Atzberger [Tue, 16 Oct 2007 21:02:27 +0000 (16:02 -0500)]
Minor overhaul of installer WITHOUT thorough testing. Steps broken out into

More revision is required: CVS variables, bad use of map in void context,
overuse of multiple index lines instead of one RegExp, etc.  Koha GPL
statement at top needed.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBug Fixing : Memberentry was broken.
Henri-Damien LAURENT [Mon, 15 Oct 2007 21:01:57 +0000 (16:01 -0500)]
Bug Fixing : Memberentry was broken.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoChanging the way resident search form is displayed; Reformatting admin-home.tmpl...
Owen Leonard [Mon, 15 Oct 2007 21:01:56 +0000 (16:01 -0500)]
Changing the way resident search form is displayed; Reformatting admin-home.tmpl; Updating entry form display on admin pages.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBUGfixes in availability management
Paul POULAIN [Sun, 14 Oct 2007 21:20:51 +0000 (16:20 -0500)]
BUGfixes in availability management

- the availability status was not available on result list. This patch reintroduces that
- notforloan as itemtype was not properly managed : an itemtype that was notforloan resulted in nothing in detail. Not, the user can't place a reserve anymore, and the status is correctly displayed

the fix is for OPAC as well as staff

(owen, pls, validate cat-toolbar.inc & catalogue/detail.tmpl)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoChange to address Bug 1471
Owen Leonard [Fri, 12 Oct 2007 22:35:32 +0000 (17:35 -0500)]
Change to address Bug 1471

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoFixes for Bug 1444. Trimming whitespace and correcting javascript form submit.
Owen Leonard [Fri, 12 Oct 2007 22:35:31 +0000 (17:35 -0500)]
Fixes for Bug 1444. Trimming whitespace and correcting javascript form submit.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoFix for Bug 1480 (added items link to biblio-view-menu.inc). Cleaned up display in...
Owen Leonard [Fri, 12 Oct 2007 22:35:30 +0000 (17:35 -0500)]
Fix for Bug 1480 (added items link to biblio-view-menu.inc). Cleaned up display in moredetail.tmpl

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoA couple of forgotten markup corrections.
Owen Leonard [Fri, 12 Oct 2007 22:35:29 +0000 (17:35 -0500)]
A couple of forgotten markup corrections.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoMore refinements to MARC structure pages navigation
Owen Leonard [Fri, 12 Oct 2007 22:35:28 +0000 (17:35 -0500)]
More refinements to MARC structure pages navigation

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years ago#1485 (issuing rules improvement) continued
Paul POULAIN [Fri, 12 Oct 2007 22:35:27 +0000 (17:35 -0500)]
#1485 (issuing rules improvement) continued

updating fines rules management :
- replacing '*' by default
- removing bottom line (*) that means nothing
- dealing correctly with .0000 fine values
- fixing fine storage

still fines.pl to do

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years ago#1485 (issuing rules improvement) continued
Paul POULAIN [Fri, 12 Oct 2007 22:35:26 +0000 (17:35 -0500)]
#1485 (issuing rules improvement) continued

issuing rules are working as expeced with this commit.
working on finesrules now

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years ago#1485 (issuing rules improvement) continued
Paul POULAIN [Fri, 12 Oct 2007 22:35:25 +0000 (17:35 -0500)]
#1485 (issuing rules improvement) continued

IMPORTANT NOTE : all existing test database for 3.0 must manually delete ALL constraints on issuingrules table
(the update22to30.pl don't contain the constraints anymore, as kohastructure.sql, so are concerned only the existing 3.0 tests databases)

Filling issuingrules table :
- the issuingrules table can't have a constraint on categorycode, as we have a '*' categorycode (=default issuingrule)
- reintroducing the "default" issuingrule column
- changing some text ('*' replaced by something more explanatory)
- handling correctly the '0' (that is different from 'undefined'

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoadding . as word separator for french. Why was it not here ?
Paul POULAIN [Fri, 12 Oct 2007 22:35:24 +0000 (17:35 -0500)]
adding . as word separator for french. Why was it not here ?

nobody probably ever enter "." on search term, but just in case...

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBugfix for empty words
Paul POULAIN [Fri, 12 Oct 2007 22:35:23 +0000 (17:35 -0500)]
Bugfix for empty words

The \b consider only ASCCI as letter. So diacritics are considered as non word.
and a word like leçon is splitted in 2, "le" is empty word, and the search is done
on çon (which is not french [1], so has no result)

[1] con (without the cedilla) is a french word, but I won't tell you what it means...
anyway, there are probably no "con" in most catalogues ;-)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agobugfix: parenthesis at wrong place
Paul POULAIN [Fri, 12 Oct 2007 22:35:21 +0000 (17:35 -0500)]
bugfix: parenthesis at wrong place

authorities could not be open in MARC editor

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoContext.pm fatalsToBrowser now dependent on $ENV{USER_AGENT}.
Joe Atzberger [Fri, 12 Oct 2007 22:35:20 +0000 (17:35 -0500)]
Context.pm fatalsToBrowser now dependent on $ENV{USER_AGENT}.

Minor adjustments to Dates.pm and associated test.  You should be able to run a
perl test that uses Context w/o getting fatalsToBrowser output.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoadding GetMarcUrls() fcn to display 856's - adding also output to opac-detail.
Ryan Higgins [Fri, 12 Oct 2007 08:05:34 +0000 (03:05 -0500)]
adding GetMarcUrls() fcn to display 856's - adding also output to opac-detail.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years ago#1255 : flagged patron can't renew
Paul POULAIN [Fri, 12 Oct 2007 08:05:33 +0000 (03:05 -0500)]
#1255 : flagged patron can't renew

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoDelbiblio no longer deletes items.
Chris Cormack [Fri, 12 Oct 2007 00:11:06 +0000 (19:11 -0500)]
Delbiblio no longer deletes items.

It will only delete biblios that have no items attached.
You must delete the items first then delete the biblio

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoWorking on a fix for 1176
Chris Cormack [Thu, 11 Oct 2007 22:21:12 +0000 (17:21 -0500)]
Working on a fix for 1176

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoadding missing column to biblio table
Joshua Ferraro [Thu, 11 Oct 2007 20:52:24 +0000 (15:52 -0500)]
adding missing column to biblio table

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoFixing tabs display.
Owen Leonard [Thu, 11 Oct 2007 20:52:23 +0000 (15:52 -0500)]
Fixing tabs display.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoTweaking holds screen, trying to get additional patron information to show up in...
Owen Leonard [Thu, 11 Oct 2007 20:52:22 +0000 (15:52 -0500)]
Tweaking holds screen, trying to get additional patron information to show up in holds sidebar; Tweaks to serials interface, including overhaul of subscription-add screen

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoReporting guarantor informations on guarantees.
Henri-Damien LAURENT [Thu, 11 Oct 2007 20:52:21 +0000 (15:52 -0500)]
Reporting guarantor informations on guarantees.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoReintroducing overdue filters.
Henri-Damien LAURENT [Thu, 11 Oct 2007 20:52:20 +0000 (15:52 -0500)]
Reintroducing overdue filters.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoBug fixing 1360 : It was a bug when no authoritytype was defined.
Henri-Damien LAURENT [Thu, 11 Oct 2007 20:52:19 +0000 (15:52 -0500)]
Bug fixing 1360 : It was a bug when no authoritytype was defined.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agobug fixing : 1459 + fixing a jserror in basket.tmpl
Henri-Damien LAURENT [Thu, 11 Oct 2007 20:52:18 +0000 (15:52 -0500)]
bug fixing : 1459 + fixing a jserror in basket.tmpl

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoFiltering cancelled orders on History Search.
Henri-Damien LAURENT [Thu, 11 Oct 2007 20:52:17 +0000 (15:52 -0500)]
Filtering cancelled orders on History Search.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years ago#1474 : Bulkmarcimport croaks when Log is ON
Paul POULAIN [Thu, 11 Oct 2007 19:52:56 +0000 (14:52 -0500)]
#1474 : Bulkmarcimport croaks when Log is ON

set to 0 and restore at the end of the import

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoRevert "IMPROVEMENT (for #1416 : Available items marked waiting as soon as hold is...
Joshua Ferraro [Thu, 11 Oct 2007 18:24:40 +0000 (13:24 -0500)]
Revert "IMPROVEMENT (for #1416 : Available items marked waiting as soon as hold is placed)"

This reverts commit 8d269c3dbc66294add3b665b2585f6365324c50f.

Conflicts:

.dotest/0001
.dotest/final-commit
.dotest/info
.dotest/msg
.dotest/msg-clean
.dotest/patch

17 years agoremoving .dotest, not sure how it got in here
Joshua Ferraro [Thu, 11 Oct 2007 17:55:53 +0000 (12:55 -0500)]
removing .dotest, not sure how it got in here

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoUnnecessary "use" statements commented out.
Joe Atzberger [Thu, 11 Oct 2007 07:20:03 +0000 (02:20 -0500)]
Unnecessary "use" statements commented out.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoChange to the way the duplicate warning works and displays. Streamlines not-a-duplica...
Owen Leonard [Thu, 11 Oct 2007 07:20:02 +0000 (02:20 -0500)]
Change to the way the duplicate warning works and displays. Streamlines not-a-duplicate confirmation process and hopefully fixes Bug 1447.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoRevert "Changing innerjoin to left join for mysql5"
Henri-Damien LAURENT [Thu, 11 Oct 2007 07:20:01 +0000 (02:20 -0500)]
Revert "Changing innerjoin to left join for mysql5"

This reverts commit c0dbeb8a3f4f9ab99109d42ea194b53a46235c00.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoRecommitting left join for mysql5
Henri-Damien LAURENT [Tue, 9 Oct 2007 21:46:37 +0000 (16:46 -0500)]
Recommitting left join for mysql5

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoRevert "Changing innerjoin to left join for mysql5"
Henri-Damien LAURENT [Tue, 9 Oct 2007 21:46:36 +0000 (16:46 -0500)]
Revert "Changing innerjoin to left join for mysql5"

This reverts commit c0dbeb8a3f4f9ab99109d42ea194b53a46235c00.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoSorting Branches by Branchcode on display.
Paul POULAIN [Tue, 9 Oct 2007 21:46:34 +0000 (16:46 -0500)]
Sorting Branches by Branchcode on display.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoIMPROVEMENT (for #1416 : Available items marked waiting as soon as hold is placed)
Paul POULAIN [Tue, 9 Oct 2007 21:46:26 +0000 (16:46 -0500)]
IMPROVEMENT (for #1416 : Available items marked waiting as soon as hold is placed)

In fact, #1416 is not a bug, it's a feature : SAN-OP librarians place the reserve "book in hand", and confirm on phone that it's available
NPL save the reserve, but pick them from the shelves once a day only. So the item must be "to pull"

This commit improves the behaviour :
- document Reserves.pm a little, it was needed !
- add a systempreference ReservesNeedReturns, that let the library choose it's behaviour
- define the systempref in english & french systempreferences files
- add the systempref through the web installer (bumping to 3.00.00.003)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years ago#1485 saving issuingrules
Paul POULAIN [Mon, 8 Oct 2007 19:24:32 +0000 (14:24 -0500)]
#1485 saving issuingrules

lot of bugs to fix...
- a foreign key on patron category is stupid as we have a wildcard
- having a wildcard on itemtype is useless, removing it in template
- reindenting & removing some commented lines
- fixing some SQL bugs (insert/update lines)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoFIX for Date calculation
paul [Thu, 4 Oct 2007 05:16:39 +0000 (07:16 +0200)]
FIX for Date calculation

Rule :
- always format_date() before sending date to template
- always format_date_in_iso immediatly after reading a date coming from a parameter
- deal internally only with dates in iso

Note that :
- I could not test things related to issues stats due to the my DB -issues.issuedate not filled, see commit about 3.00.00.006
- acquisitions_stats does not work when you filter on date

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoCorrections to addbiblio.pl and addbiblio.tmpl for XHTML compliance; Formatting addbi...
Owen Leonard [Wed, 10 Oct 2007 19:42:18 +0000 (14:42 -0500)]
Corrections to addbiblio.pl and addbiblio.tmpl for XHTML compliance; Formatting addbilbio.tmpl tabs.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoFixing tab display on authorities.tmpl, correcting invalid markup generated by author...
Owen Leonard [Wed, 10 Oct 2007 19:42:17 +0000 (14:42 -0500)]
Fixing tab display on authorities.tmpl, correcting invalid markup generated by authorities.pl; Change to circulation.tmpl for more generalized tab formatting.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoCorrections to bring into XHTML compliance
Owen Leonard [Wed, 10 Oct 2007 19:42:16 +0000 (14:42 -0500)]
Corrections to bring into XHTML compliance

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years ago#1475
Frédéric DEMIANS [Wed, 10 Oct 2007 19:42:15 +0000 (14:42 -0500)]
#1475

Not sure whereas this patch's reached you...

Thanks.

--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html

>From 4c1efe7c79d8ac6eb6f275823d9a0ea948d1315c Mon Sep 17 00:00:00 2001
From: Frederic Demians <f.demians@tamil.fr>
Date: Sun, 7 Oct 2007 01:54:56 +0200
Subject: [PATCH] Correct a bug preventing from modifying member records

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
17 years agoAnother tweak to the toolbar. Some toolbar buttons were not showing up on initial...
Owen Leonard [Tue, 9 Oct 2007 21:46:54 +0000 (16:46 -0500)]
Another tweak to the toolbar. Some toolbar buttons were not showing up on initial page load.

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