koha.git
15 years agoRemoving check for non-existent OPACDisplayItypes sytem pref which prevented itemtype...
Owen Leonard [Wed, 25 Feb 2009 17:02:06 +0000 (11:02 -0600)]
Removing check for non-existent OPACDisplayItypes sytem pref which prevented itemtype icons from appearing on opac-detail.pl

15 years agoEnabling listing of category codes when "new patron" button is displayed.
Owen Leonard [Tue, 24 Feb 2009 16:10:03 +0000 (10:10 -0600)]
Enabling listing of category codes when "new patron" button is displayed.

circulation.pl lacked the code to check whether category codes existed, meaning it would only display category types.

15 years ago(bug #2978) fix differents bugs in marc editor
Nahuel ANGELINETTI [Mon, 23 Feb 2009 11:12:49 +0000 (12:12 +0100)]
(bug #2978) fix differents bugs in marc editor

This patch fix two bugs:

 * tag duplication
If you try to duplicate an autority tag, the javascript call is kept, and the id is not modified, and fields are not emptied.

 * openAuth() call
The id called on duplicated fields is not the great id.
And the different values sent to auth_finder.pl to pre-fetch datas from firstname, etc... send values from all same tags, and not from the selected tag.

15 years agoMinor documentation updates.
Andrew Elwell [Fri, 20 Feb 2009 14:56:12 +0000 (15:56 +0100)]
Minor documentation updates.

Just a few minor updates - typo fixes and rewording of the auth process.

From a5d47fed7ab81179b8e40e4251f06a380b5fdfef Mon Sep 17 00:00:00 2001
From: Andrew Elwell <andrew.elwell@gmail.com>
Date: Thu, 19 Feb 2009 12:01:55 +0100
Subject: [PATCH] Minor documentation typos

15 years agobug itemtype icons interfere with location text
Michael Hafen [Wed, 18 Feb 2009 22:52:02 +0000 (15:52 -0700)]
bug itemtype icons interfere with location text

Thanks to Owen for this.

This changes the itemtype icons from css backgrounds to images.  Also
there is a little css tweaking to compensate for some other things taken
out from that area - like margin and padding declarations.

15 years agoAdd barcode to staff search results page.
Michael Hafen [Fri, 13 Feb 2009 22:17:52 +0000 (15:17 -0700)]
Add barcode to staff search results page.

This adds a copy barcode do the item list (Location) on the staff search
results page.

15 years agobug 2971: Fixed leak by removing drop shadow instead of hiding it.
Stephen Edwards [Thu, 19 Feb 2009 20:55:43 +0000 (15:55 -0500)]
bug 2971: Fixed leak by removing drop shadow instead of hiding it.

Changed blanket "hide()" of all drop shadows to "removeShadow()" of
the specific one for the cart list.

15 years agoBug 2968 - SIP ACS_STATUS message (98) misreported config.
Joe Atzberger [Thu, 19 Feb 2009 16:20:07 +0000 (10:20 -0600)]
Bug 2968 - SIP ACS_STATUS message (98) misreported config.

The *_ok methods in ILS.pm were targeting the wrong depth.
This also resolves a longstanding FIXME on to_bool() warning like:
    Argument "\x{66}\x{61}..." isn't numeric in numeric ne (!=) at /ILS.pm line 94.

The example_institution_dump.sh essentially provides the proof test case for this patch.
Run it before/after on SIPconfig.xml where "MAIN" has checkout="true" and checkin="true".

15 years agoURLs checker enhancement (bug #2959)
Frederic Demians [Tue, 17 Feb 2009 09:23:13 +0000 (10:23 +0100)]
URLs checker enhancement (bug #2959)

Improve URLs checker script in the way (half way) pointed out by Galen:

- A C4::URL::Checker class handle URL checking. This class is not yet
  in a separate file in C4 directory. This class would be easily
  extended to accomodate authorities URLs checking.
- Script output can now be formatted in CSV or HTML. HTML version
  link directly to MARC biblio record editor.

15 years ago(bug #2962) escape searchbox, and change the search from tag clouds
Nahuel ANGELINETTI [Mon, 16 Feb 2009 10:03:42 +0000 (11:03 +0100)]
(bug #2962) escape searchbox, and change the search from tag clouds

This patch escape the searchbox to permit to have quotes in searchs.
And make exacts search on autorities from subject tag cloud.

15 years ago(bug #2961) add a button to add manually the next issue
Nahuel ANGELINETTI [Fri, 13 Feb 2009 16:15:31 +0000 (17:15 +0100)]
(bug #2961) add a button to add manually the next issue

This patch add a button in "Serial Collection" to add manually the next issue. And improve the function GetNextExpected
to retrieve at least something.

15 years agobug 2126: reduce round-off errors in fine balance
Galen Charlton [Thu, 12 Feb 2009 20:20:43 +0000 (14:20 -0600)]
bug 2126: reduce round-off errors in fine balance

If a patron has a number of fine transactions, the
total could be wrong.  This is particularly noticeable
when a patron has a zero balance, as summing a group
of floating point values derived from decimal(6,2) columns
can result a scalar value that is not zero.

Koha really should be using integral arithmetic
or appropriate accounting modules to do fine and
acquisitions calculations.  Using floating point scalars
for monetary amounts is always a mistake.

This patch also prevents an account maintenance
fee from being applied when renewing a patron if the
amount would be 0.

15 years ago(bug #2957) import Date_to_Days
Nahuel ANGELINETTI [Thu, 12 Feb 2009 15:04:52 +0000 (16:04 +0100)]
(bug #2957) import Date_to_Days

This patch import Date_to_Days from Data::Calc, else CalcFine can crash.

15 years ago(bug #2956) fix 4xx plugin pagination
Nahuel ANGELINETTI [Thu, 12 Feb 2009 14:38:52 +0000 (15:38 +0100)]
(bug #2956) fix 4xx plugin pagination

this patch rework the calculation of the pagination and of results

15 years agoA new script to check URLs in 856$u field
Frederic Demians [Tue, 10 Feb 2009 06:13:30 +0000 (07:13 +0100)]
A new script to check URLs in 856$u field

15 years agoSearching empty strings broken in Authorities
Henri-Damien LAURENT [Wed, 4 Mar 2009 10:43:22 +0000 (11:43 +0100)]
Searching empty strings broken in Authorities

This fixes search on empty strings
And if an authtype is provided then it searches on this authtype only

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoFix encoding items
Henri-Damien LAURENT [Mon, 2 Mar 2009 10:29:17 +0000 (11:29 +0100)]
Fix encoding items

items were doubled encoded

15 years agoMultiple field search would not work any more
Henri-Damien LAURENT [Thu, 19 Feb 2009 17:21:52 +0000 (18:21 +0100)]
Multiple field search would not work any more

15 years agoUpdated Thai Opac
Chris Cormack [Mon, 2 Mar 2009 10:33:39 +0000 (23:33 +1300)]
Updated Thai Opac

15 years agoFrench canadian po files
Chris Cormack [Mon, 2 Mar 2009 09:57:05 +0000 (22:57 +1300)]
French canadian po files

15 years agoGerman and Portuguese opac updates
Chris Cormack [Sat, 21 Feb 2009 20:21:20 +0000 (09:21 +1300)]
German and Portuguese opac updates

15 years agoChanging version v3.00.01-stable_update
Henri-Damien LAURENT [Wed, 18 Feb 2009 16:05:16 +0000 (17:05 +0100)]
Changing version

15 years agolittle change on french translation
Henri-Damien LAURENT [Wed, 18 Feb 2009 11:21:36 +0000 (12:21 +0100)]
little change on french translation

15 years agoBug Fixing: Amazon elements would not display at OPAC
Henri-Damien LAURENT [Wed, 18 Feb 2009 16:30:33 +0000 (17:30 +0100)]
Bug Fixing: Amazon elements would not display at OPAC

Owed to a change in systempreferences name in templates,
amazon elements would not display
This patch creates OPACAmazonContent value for templates.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoAdd errorproof to GetCOinSBiblio v3.00.01-stable
Henri-Damien LAURENT [Wed, 18 Feb 2009 09:16:03 +0000 (10:16 +0100)]
Add errorproof to GetCOinSBiblio

When no MARC record is returned by GetMarcBiblio for one record,
it makes search result go error 500

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoGerman intranet updates
Chris Cormack [Tue, 17 Feb 2009 19:47:04 +0000 (08:47 +1300)]
German intranet updates

15 years agoUpdating the translation credits for Spanish
Chris Cormack [Tue, 17 Feb 2009 19:46:12 +0000 (08:46 +1300)]
Updating the translation credits for Spanish

15 years agoFollowup : French translation file for staff
Henri-Damien LAURENT [Tue, 17 Feb 2009 18:02:32 +0000 (19:02 +0100)]
Followup : French translation file for staff

updating translation file + bug fixing javascript string in
subscription
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoUpdating french translations for staff
Henri-Damien LAURENT [Tue, 17 Feb 2009 17:42:11 +0000 (18:42 +0100)]
Updating french translations for staff

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agominor improvement french translation
Henri-Damien LAURENT [Tue, 17 Feb 2009 16:05:48 +0000 (17:05 +0100)]
minor improvement french translation

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago(bug #2904) this patch is a fix from previous
Nahuel ANGELINETTI [Tue, 17 Feb 2009 15:23:28 +0000 (16:23 +0100)]
(bug #2904) this patch is a fix from previous

in the previous patch the field used for link "name" was 856$z, but the unimarc doesn't specify this, it say to use the 856$2 field.
This patch make koha to use the 856$2.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoMinor fix in french opac translation.
Henri-Damien LAURENT [Tue, 17 Feb 2009 15:39:21 +0000 (16:39 +0100)]
Minor fix in french opac translation.
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoUpdated circulation page in order to make things appear the right way
Henri-Damien LAURENT [Tue, 17 Feb 2009 14:12:26 +0000 (15:12 +0100)]
Updated circulation page in order to make things appear the right way

15 years agoStrings integrated to js could not be translated.
Henri-Damien LAURENT [Fri, 13 Feb 2009 15:04:10 +0000 (16:04 +0100)]
Strings integrated to js could not be translated.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobug 2952 followup
Galen Charlton [Thu, 12 Feb 2009 23:04:20 +0000 (17:04 -0600)]
bug 2952 followup

The feature in question is described in bug 2952; to
summarize the enhancement, which the earlier patch
description did not do, the list of bibs in an
import record batch now includes a column linking
each import record to the bib that was actually created
or updated when the import batch was committed.

The improvements in this patch are:

* If bib in import batch has not been committed, it
  has not been linked to a matching new or updated bib.
  In that case, do not create a link to a guaranteed
  404 (/cgi-bin/koha/catalogue/detail.pl?biblionumber=)

* When reverting an import batch, set matched_biblionumber
  to NULL for affected records - otherwise, the Bib
  column will include links to bibs that may no longer
  exist.

* Fixed a minor HTML validation error.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2952: 1 char typo
Mason James [Tue, 10 Feb 2009 02:38:15 +0000 (15:38 +1300)]
bug 2952: 1 char typo

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agopatch for feature 2952 - v3
Mason James [Tue, 10 Feb 2009 01:48:26 +0000 (14:48 +1300)]
patch for feature 2952 - v3

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years ago(bug #2956) fix another results calculation
Nahuel ANGELINETTI [Thu, 12 Feb 2009 14:58:35 +0000 (15:58 +0100)]
(bug #2956) fix another results calculation

this patch fix more about 4XX plugin, for results display and calculation.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoThai Opac updates
Chris Cormack [Mon, 16 Feb 2009 02:42:31 +0000 (15:42 +1300)]
Thai Opac updates

15 years agoTurkish intranet, Marathi Opac and Thai Opac
Chris Cormack [Sat, 14 Feb 2009 03:34:53 +0000 (16:34 +1300)]
Turkish intranet, Marathi Opac and Thai Opac

15 years agoUpdated thai opac
Chris Cormack [Fri, 13 Feb 2009 07:31:24 +0000 (20:31 +1300)]
Updated thai opac

15 years agoUpdating credits
Chris Cormack [Thu, 12 Feb 2009 08:48:26 +0000 (21:48 +1300)]
Updating credits

15 years agoFixed turkish file
Chris Cormack [Thu, 12 Feb 2009 00:28:02 +0000 (13:28 +1300)]
Fixed turkish file

15 years agokohabug 2955 (2/2) GetMarcFromKohaField now requires $framework
Chris Nighswonger [Wed, 11 Feb 2009 17:15:00 +0000 (12:15 -0500)]
kohabug 2955 (2/2) GetMarcFromKohaField now requires $framework

Failure to pass the $framework parameter by dateaccessioned.pl causes
GetMarcFromKohaField to return 0,0 which breaks the value builder. The
patch
submitted corrects this.

This patch is build against the current 3.1.x HEAD, however, this bug
also
affects the 3.0.x codebase and should be applied there as well.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoFollowup previous patch bug 2955 :
Henri-Damien LAURENT [Wed, 11 Feb 2009 17:31:44 +0000 (18:31 +0100)]
Followup previous patch bug 2955 :

Some calls to GetMarcFromKohaField would not tell which framework to
use.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agokohabug 2955 GetMarcFromKohaField now requires $framework
Chris Nighswonger [Wed, 11 Feb 2009 16:44:12 +0000 (11:44 -0500)]
kohabug 2955 GetMarcFromKohaField now requires $framework

Failure to pass the $framework parameter by barcode.pl causes
GetMarcFromKohaField to return 0,0 which breaks the value builder. The
patch
submitted corrects this.

This patch is build against the current 3.1.x HEAD, however, this bug
also
affects the 3.0.x codebase and should be applied there as well.

fbcbug 4

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoBug Fixing : Modifying a patron would not show his information
Henri-Damien LAURENT [Wed, 11 Feb 2009 15:53:10 +0000 (16:53 +0100)]
Bug Fixing : Modifying a patron would not show his information

15 years agoImproving translation : some js strings were not taken into po files
Henri-Damien LAURENT [Wed, 11 Feb 2009 13:11:18 +0000 (14:11 +0100)]
Improving translation : some js strings were not taken into po files

15 years agoFrench opac updates
Chris Cormack [Wed, 11 Feb 2009 08:25:23 +0000 (21:25 +1300)]
French opac updates

15 years agoRussian and Ukranian SQL files
Chris Cormack [Wed, 11 Feb 2009 08:24:19 +0000 (21:24 +1300)]
Russian and Ukranian SQL files

15 years agoUpdated translation notes
Chris Cormack [Tue, 10 Feb 2009 06:53:53 +0000 (19:53 +1300)]
Updated translation notes

15 years agoRussian, Ukranian and Turkish translations
Chris Cormack [Tue, 10 Feb 2009 06:16:16 +0000 (19:16 +1300)]
Russian, Ukranian and Turkish translations

15 years agoFollowup : updating circulation.tmpl
Henri-Damien LAURENT [Mon, 9 Feb 2009 16:10:22 +0000 (17:10 +0100)]
Followup : updating circulation.tmpl

summary checkouts were displayed even with no borrowers.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago"Cart" translation updated
Henri-Damien LAURENT [Mon, 9 Feb 2009 15:16:26 +0000 (16:16 +0100)]
"Cart" translation updated

"Cart" translation in french is replaced with Panier

15 years agoBug Fixing : updating circulation.tmpl
John Soros [Mon, 9 Feb 2009 10:35:21 +0000 (11:35 +0100)]
Bug Fixing : updating circulation.tmpl

problem with displaying circulation page

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoMore norwegian updates
Chris Cormack [Mon, 9 Feb 2009 06:21:29 +0000 (19:21 +1300)]
More norwegian updates

15 years agoNorwegian updates
Chris Cormack [Sun, 8 Feb 2009 17:57:42 +0000 (06:57 +1300)]
Norwegian updates

15 years agoNZ English intranet updates
Chris Cormack [Sat, 7 Feb 2009 05:18:15 +0000 (18:18 +1300)]
NZ English intranet updates

15 years agoUpdated Credits and lots of updates to the po files
Chris Cormack [Fri, 6 Feb 2009 18:48:03 +0000 (07:48 +1300)]
Updated Credits and lots of updates to the po files

15 years agoFrench intranet v3.00.01.005
Chris Cormack [Thu, 5 Feb 2009 07:25:34 +0000 (20:25 +1300)]
French intranet

15 years agopo updates
Henri-Damien LAURENT [Tue, 3 Feb 2009 14:09:42 +0000 (15:09 +0100)]
po updates

15 years agoAdding credits to OpenNCIP and nots to release notes about platforms
Henri-Damien LAURENT [Tue, 3 Feb 2009 14:07:32 +0000 (15:07 +0100)]
Adding credits to OpenNCIP and nots to release notes about platforms

15 years agoChanging nongnu.org to lists.koha.org
Henri-Damien LAURENT [Tue, 3 Feb 2009 11:16:31 +0000 (12:16 +0100)]
Changing nongnu.org to lists.koha.org

15 years agoUpdating translation Minor correction to Release notes
Henri-Damien LAURENT [Tue, 3 Feb 2009 11:15:16 +0000 (12:15 +0100)]
Updating translation Minor correction to  Release notes

15 years agoAdding a translation note.
Henri-Damien LAURENT [Tue, 3 Feb 2009 10:34:37 +0000 (11:34 +0100)]
Adding a translation note.

15 years agoBug 2940 - private shelf (list) display error on 2nd and subsequent pages.
Joe Atzberger [Mon, 2 Feb 2009 20:36:19 +0000 (14:36 -0600)]
Bug 2940 - private shelf (list) display error on 2nd and subsequent pages.

The before/after URL for the 2nd page of list elements:
http://atz.dev.kohalibrary.com/cgi-bin/koha/opac-shelves.pl?display=privateshelves?viewshelf=120&itemoff=2
http://atz.dev.kohalibrary.com/cgi-bin/koha/opac-shelves.pl?viewshelf=120&display=privateshelves&itemoff=2

The change in query string arguments is incidental, the prevention of multiple "?" is essential.

15 years agoGerman updates
Chris Cormack [Tue, 3 Feb 2009 08:41:17 +0000 (21:41 +1300)]
German updates

15 years agoFollowup: Adding AllowNotForLoanOverride
Henri-Damien LAURENT [Mon, 2 Feb 2009 17:02:48 +0000 (18:02 +0100)]
Followup: Adding AllowNotForLoanOverride

an orphan bracket was lost in the file.

15 years agoAdding release notes for 3.0.1
Henri-Damien LAURENT [Mon, 2 Feb 2009 15:30:25 +0000 (16:30 +0100)]
Adding release notes for 3.0.1

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoFollowup : Adding System Preference AllowNotForLoanOverride
Henri-Damien LAURENT [Mon, 2 Feb 2009 15:06:21 +0000 (16:06 +0100)]
Followup : Adding System Preference AllowNotForLoanOverride

this system preference was created but not added to system preferences
Changing the kohaversion in kohaversion script

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoUpdating French translations
Henri-Damien LAURENT [Mon, 2 Feb 2009 15:07:36 +0000 (16:07 +0100)]
Updating French translations

Staff trnalstaions update

15 years agoAdding System Preference AllowNotForLoanOverride
Henri-Damien LAURENT [Mon, 2 Feb 2009 15:06:21 +0000 (16:06 +0100)]
Adding System Preference AllowNotForLoanOverride

this system preference was created but not added to system preferences

15 years agoUpdated translations for French, German and Croation
Chris Cormack [Sun, 1 Feb 2009 10:42:01 +0000 (23:42 +1300)]
Updated translations for French, German and Croation

15 years ago(bug #2937) use check_date in C4::Serials::hassubscriptionexpired
Nahuel ANGELINETTI [Fri, 30 Jan 2009 15:48:02 +0000 (16:48 +0100)]
(bug #2937) use check_date in C4::Serials::hassubscriptionexpired

This patch change the date check in hassubscriptionexpired to use Date_Calc::check_date

15 years agoNeeded authorised values list for french frameworks.
Henri-Damien LAURENT [Fri, 30 Jan 2009 14:10:54 +0000 (15:10 +0100)]
Needed authorised values list for french frameworks.

15 years agoAdding some null words and mappings for Œ œ
Henri-Damien LAURENT [Wed, 28 Jan 2009 16:39:10 +0000 (17:39 +0100)]
Adding some null words and mappings for Œ œ

15 years agoBug Fixing duplicate = in labels management.
Henri-Damien LAURENT [Wed, 28 Jan 2009 14:18:41 +0000 (15:18 +0100)]
Bug Fixing duplicate = in labels management.

15 years agoRevert "more readable version of the init and new sub"
Henri-Damien LAURENT [Wed, 28 Jan 2009 13:55:47 +0000 (14:55 +0100)]
Revert "more readable version of the init and new sub"

This reverts commit 5a74b4fa0cf79163755560daed640ead85fa0b71.

15 years agoRevert "Bug Fixing : Sub Output was mistakenly removed."
Henri-Damien LAURENT [Wed, 28 Jan 2009 13:54:56 +0000 (14:54 +0100)]
Revert "Bug Fixing : Sub Output was mistakenly removed."

This reverts commit cf355ab195e19c7d9ac37f6fc563141b5190a231.

15 years agoBug Fixing : Sub Output was mistakenly removed.
Henri-Damien LAURENT [Tue, 27 Jan 2009 15:32:53 +0000 (16:32 +0100)]
Bug Fixing : Sub Output was mistakenly removed.

15 years agoFrench OPAC translation Update
Henri-Damien LAURENT [Fri, 23 Jan 2009 17:41:19 +0000 (18:41 +0100)]
French OPAC translation Update

15 years agoReverting from MARC::File::XML parser forcing
Henri-Damien LAURENT [Fri, 23 Jan 2009 17:38:37 +0000 (18:38 +0100)]
Reverting from MARC::File::XML parser forcing

15 years agoAuthtypecode return an warning even if subfield is ignored
Nahuel ANGELINETTI [Thu, 22 Jan 2009 10:51:39 +0000 (11:51 +0100)]
Authtypecode return an warning even if subfield is ignored

this patch just add a condition to the sql request to return a warning
only if authtypecode is not in an ignored subfield.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoBugfix #2921 OPACAmazonContent syspref not used
Frederic Demians [Wed, 21 Jan 2009 08:01:52 +0000 (09:01 +0100)]
Bugfix #2921 OPACAmazonContent syspref not used

In opac-results.tmpl and opac-detail.tmpl, AmazonContent is used
rather than OPACAmazonContent to enable/disable Amazon book jacket.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoMinor rework of template js.
Joe Atzberger [Wed, 21 Jan 2009 01:18:25 +0000 (19:18 -0600)]
Minor rework of template js.

Lines explicitly ended with semicolons.  Allow some better behavior if TMPL_VAR's
are undefined or zero.

Note FIXME added.  I believe this is part of the fragmentary integration of
Katipo code for GST.  Would be obliged if someone with access there can confirm.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoTrivial comment typos corrected.
Joe Atzberger [Wed, 21 Jan 2009 01:18:24 +0000 (19:18 -0600)]
Trivial comment typos corrected.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoBasic cleanup of fixup_cardnumber
Joe Atzberger [Wed, 21 Jan 2009 01:18:23 +0000 (19:18 -0600)]
Basic cleanup of fixup_cardnumber

Avoid warning on syspref "checkdigit" undefined.
Functionality essentially unchanged.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoPrevent js failure if syspref "gist" is undefined.
Joe Atzberger [Wed, 21 Jan 2009 01:18:22 +0000 (19:18 -0600)]
Prevent js failure if syspref "gist" is undefined.

The javascript is malformed and therefore fails the onsubmit check if
gist does not receive a value.  This patch allows failover to default 0.
Also removed an unused dbh.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoBlock warning on detail.pl.
Joe Atzberger [Wed, 21 Jan 2009 01:18:20 +0000 (19:18 -0600)]
Block warning on detail.pl.

If Amazon doesn't have an avg. rating number defined, then we cannot multiply it
by 20 without the following warning:

    detail.pl: Use of uninitialized value in multiplication (*)
    at /home/user/kohaclone/catalogue/detail.pl line 228.

So the important part of this patch is || 0 on the $average_rating assignment.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years ago(bug #2917) editing authority marc field structure doesn't workl
Nahuel ANGELINETTI [Tue, 20 Jan 2009 12:46:58 +0000 (13:46 +0100)]
(bug #2917) editing authority marc field structure doesn't workl

This patch add a field in the ->execute() statement which was missing.
The sql request have 8 args, and only 7 was passed.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoAutoselect marcflavour in marc import
Nahuel ANGELINETTI [Tue, 20 Jan 2009 14:59:23 +0000 (15:59 +0100)]
Autoselect marcflavour in marc import

This patch is writted by Paul Poulain.
It auto-select the marcflavour from syspref in the stage marc import.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoCorrect capitalization on CGI::Session::Serialize::yaml
Joe Atzberger [Sat, 17 Jan 2009 00:31:55 +0000 (18:31 -0600)]
Correct capitalization on CGI::Session::Serialize::yaml

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoFixes command-line 'number' arg in bulkauthimport.pl.
Mason James [Fri, 16 Jan 2009 10:07:12 +0000 (23:07 +1300)]
Fixes command-line 'number' arg in bulkauthimport.pl.

for HEAD and 3.0.x

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agofix to remove blank newlines from labels
Mason James [Fri, 16 Jan 2009 08:16:27 +0000 (21:16 +1300)]
fix to remove blank newlines from labels

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years ago_set_defaults_for_add easier to read
Marc Chantreux [Fri, 16 Jan 2009 09:23:27 +0000 (09:23 +0000)]
_set_defaults_for_add easier to read

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agomore readable version of the init and new sub
Marc Chantreux [Thu, 15 Jan 2009 23:18:06 +0000 (23:18 +0000)]
more readable version of the init and new sub

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years ago(bug #2914) improve the deletion
Nahuel ANGELINETTI [Thu, 15 Jan 2009 08:49:48 +0000 (09:49 +0100)]
(bug #2914) improve the deletion

this patch disable the button to delete all of items if there is no item attached to the marc record.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years ago(bug #2914) delete all items of a notice
Nahuel ANGELINETTI [Wed, 14 Jan 2009 15:07:34 +0000 (16:07 +0100)]
(bug #2914) delete all items of a notice

This patch allow the librarian to delete all items attached to a notice in one click.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years ago(bug #2913) show "--" on repeated fields
Nahuel ANGELINETTI [Wed, 14 Jan 2009 12:26:51 +0000 (13:26 +0100)]
(bug #2913) show "--" on repeated fields

This patch just transform the script to set the field title as "--" if it was already shown.

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
15 years agoFormat marc notes
Nahuel ANGELINETTI [Tue, 13 Jan 2009 10:33:54 +0000 (11:33 +0100)]
Format marc notes

this patch add a filter to notes, it transform \n in <br />

Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>