]> git.koha-community.org Git - koha.git/log
koha.git
15 years agoDistinguish between items marked 'not for loan' and 'Available'
Joshua Ferraro [Wed, 4 Feb 2009 16:46:23 +0000 (10:46 -0600)]
Distinguish between items marked 'not for loan' and 'Available'

This patch works with XSL* sysprefs == ON, a future patch will address XSL sysprefs==OFF

Items with notforloan set to a negative number still designate an 'ordered' status

Some items are marked 'not for loan' by setting that value at the item level, others by assigning
that value to that item's itemtype. This patch works for both scenarios.

Specific changes this patch introduces to the OPAC:

* Adds a new OPAC results page key 'Copies available for reference:'
* Changes 'Copies available at:' to 'Copies available for loan:'
* Changes the availability limit label in opac-advsearch from:
    'Only items currently available' to 'Only items currently
available for loan or reference
* Displays the authorised value for the specific notforloan value in the OPAC detail page in
parentheses next to 'Not for Loan'

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoAvoid XSLT stylesheet building for each biblio record to transform
Frederic Demians [Thu, 5 Feb 2009 07:26:13 +0000 (08:26 +0100)]
Avoid XSLT stylesheet building for each biblio record to transform

In XSLT.pm, put XSLT stylesheet object in a session variable in order
to avoid to build it for each biblio to parse: useful on search
result page.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoUpdated INSTALL.debian and debian.packages for new dependencies
J. David Bavousett [Thu, 5 Feb 2009 21:27:30 +0000 (15:27 -0600)]
Updated INSTALL.debian and debian.packages for new dependencies

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoNew C4 Modules
John Beppu [Tue, 3 Feb 2009 22:02:03 +0000 (16:02 -0600)]
New C4 Modules

* C4::Category
  - patron categories as objects
  - an all() method to return all the categories as a list
* C4::ItemType
  - itemtypes as objects
  - an all() method to return all the item types as a list
* C4::ItemCirculationAlertPreference
  - wrapper around the item_circulation_alert_preference table
  - create() and delete() methods for easy manipulation of the preferences
  - I regret giving it such a long name.
  - The item_type column should've been named itemtype to make it
    more similar to pre-existing tables.  Oh well.

(C4::Category and C4::ItemType were made so that I wouldn't have to
write SQL inside my CGI scripts.
Their main purpose is to provide an easy way to get a list of
patron categories and item types.
Do not be fooled by the amount of POD.
There's actually very little code in these modules.)

Signed-off-by: Daniel Sweeney <daniel.sweeney@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoShowing totals for charges and replacement costs on patron detail screen and print...
Owen Leonard [Tue, 3 Feb 2009 20:59:55 +0000 (14:59 -0600)]
Showing totals for charges and replacement costs on patron detail screen and print view.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoMove opaclanguagesdisplay to I18N/L10N tab where opaclanguages pref is.
Owen Leonard [Tue, 3 Feb 2009 21:00:06 +0000 (15:00 -0600)]
Move opaclanguagesdisplay to I18N/L10N tab where opaclanguages pref is.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobug 2870, fixes non-populating of guarantor fields
Mason James [Wed, 28 Jan 2009 12:28:52 +0000 (01:28 +1300)]
bug 2870, fixes non-populating of guarantor fields

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoCleanup and perltidy.
Joe Atzberger [Wed, 28 Jan 2009 19:25:48 +0000 (13:25 -0600)]
Cleanup and perltidy.

Add "use warnings", remove unused variables and unnecessary finish/disconnect
at the end.  This script could be improved to run only on tables that need to
be altered instead of touching all of them.  It should also probably contain
warnings to the effect that it does not rescue your DATA that was forced into
whatever encoding the table used previously.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoObsolete harness for tests, replaced by make and other test structures.
Joe Atzberger [Wed, 28 Jan 2009 19:39:43 +0000 (13:39 -0600)]
Obsolete harness for tests, replaced by make and other test structures.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agofollowup to holds policies - fix itype
Galen Charlton [Thu, 15 Jan 2009 21:26:18 +0000 (15:26 -0600)]
followup to holds policies - fix itype

Overriding items.itype from biblioitems.itemtype
is needed only with item-level_itypes is OFF.

[LL bug 321]

Signed-off-by: Daniel Sweeney <daniel.sweeney@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoRelated to earlier patch: adding body id to add flexibility to CSS customizations.
Owen Leonard [Fri, 9 Jan 2009 02:03:53 +0000 (20:03 -0600)]
Related to earlier patch: adding body id to add flexibility to CSS customizations.

This patch adds a different id to opac-shelves, opac-suggestions, and opac-tags based on whether or not the user is logged in, allowing for changes to style based on logged-in status.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agofix permission error introduced in a previous patch
Galen Charlton [Wed, 7 Jan 2009 03:03:40 +0000 (21:03 -0600)]
fix permission error introduced in a previous patch

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoA few more tweaks to the OPAC detail view menu
Owen Leonard [Wed, 31 Dec 2008 20:28:27 +0000 (14:28 -0600)]
A few more tweaks to the OPAC detail view menu

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoFormatting changes for OPAC xslt and staff client catalog detail pages. Fixes Bug...
Owen Leonard [Tue, 21 Oct 2008 16:13:36 +0000 (11:13 -0500)]
Formatting changes for OPAC xslt and staff client catalog detail pages. Fixes Bug 2704, 440 Display Issues.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoremove disused script admin/letter.pl
Galen Charlton [Wed, 31 Dec 2008 16:28:03 +0000 (10:28 -0600)]
remove disused script admin/letter.pl

Was moved to tools/letter.pl in 2006, but old
(and nonfunctional) version was left in place.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoremoving *.old files
Galen Charlton [Wed, 31 Dec 2008 16:23:34 +0000 (10:23 -0600)]
removing *.old files

Don't need to do this when modifying a script --
this is what Git is for.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoRemoving ':' from table headers.
Stan Brinkerhoff [Wed, 24 Dec 2008 12:13:16 +0000 (07:13 -0500)]
Removing ':' from table headers.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobug 2856 followup: remove unconditional warn
Galen Charlton [Mon, 29 Dec 2008 19:53:11 +0000 (13:53 -0600)]
bug 2856 followup: remove unconditional warn

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoTest suite: C4::Members::GetMember
Allen Reinmeyer [Wed, 24 Dec 2008 22:09:50 +0000 (16:09 -0600)]
Test suite: C4::Members::GetMember

Tests the functionality of C4::Members::GetMember.  Tests exist
for every way that GetMember could be called on to search for an
existing member.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoBug 2868: fixing typo in NoZebraIndexes setting in sysprefs
Andrew Moore [Wed, 17 Dec 2008 21:13:49 +0000 (15:13 -0600)]
Bug 2868: fixing typo in NoZebraIndexes setting in sysprefs

There was a missing ' in the value of the NoZebraIndexes syspref. This
patch fixes it.

It's not necessary to fix the existing settings because
C4::Biblio::GetNoZebraIndexes is liberal enough to be able to parse even
the deformed value.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agowhitespace cleanup - admin/systempreferences.pl
Galen Charlton [Wed, 17 Dec 2008 15:53:40 +0000 (09:53 -0600)]
whitespace cleanup - admin/systempreferences.pl

applied xt/perltidyrc to admin/systempreferences.pl

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobug 2860: allow setting of a syspref value to '0'
Galen Charlton [Wed, 17 Dec 2008 15:53:39 +0000 (09:53 -0600)]
bug 2860: allow setting of a syspref value to '0'

Fixed invalid test for the existence of CGI parameter; if it
is possible that the value of a parameter can be 0, it is
not sufficient to test like this:

if ($input->param('foo')) { ...

since the test will fail for *any* value that evaluates
to Perl false.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2505: turn on warnings in admin/systemprefernces.pl
Galen Charlton [Wed, 17 Dec 2008 15:53:38 +0000 (09:53 -0600)]
bug 2505: turn on warnings in admin/systemprefernces.pl

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2867 [1/2]: Move basic editing to main system preferences screen
Jesse Weaver [Wed, 17 Dec 2008 15:53:37 +0000 (09:53 -0600)]
bug 2867 [1/2]: Move basic editing to main system preferences screen

This allows the user to edit system preferences from the main system
preferences screen, rather than having to dig down into each
preference.

[This patch includes some modifications by Galen Charlton
 to fix XHTML validation errors and a couple errors that
 would crop up under warnings.]

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2505: enable warnings for opac/sco/sco-main.pl
Galen Charlton [Mon, 8 Dec 2008 14:45:39 +0000 (08:45 -0600)]
bug 2505: enable warnings for opac/sco/sco-main.pl

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoMinor cleanup, unused variable removed.
Joe Atzberger [Mon, 8 Dec 2008 17:42:47 +0000 (11:42 -0600)]
Minor cleanup, unused variable removed.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2857: fix UTF-8 conversion issues in web services
Galen Charlton [Wed, 10 Dec 2008 20:02:17 +0000 (14:02 -0600)]
bug 2857: fix UTF-8 conversion issues in web services

svc/bib and svc/new_bib had two problems related to UTF-8 character conversion:

[1] Couple instances of "Wide character" warnings
[2] When saving a new (MARC21) bib whose Leader/09 was not 'a', did not apply
default character conversion and set the Leader/09 to 'a'.

Fix includes two parts:

[1] Setting :utf8 on STDOUT
[2] Doing default MARC-8 to UTF-8 conversion if applicable

This patch also turns on warnings in all scripts under svc per bug 2505.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2613: allow web self-check to accept patron ID
Galen Charlton [Fri, 5 Dec 2008 23:17:02 +0000 (17:17 -0600)]
bug 2613: allow web self-check to accept patron ID

Use 'patronid' instead of 'userid' as the query parameter
for passing the patron userid or barcode around; 'userid'
is claimed by C4::Auth and should be used only for
authentication pages.

Fixes the problem where entering a patron's card
number would cause a redirect to the OPAC login
page.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoTweaks to display of "views" tabs (MARC, ISBD, etc).
Owen Leonard [Wed, 26 Nov 2008 20:45:58 +0000 (14:45 -0600)]
Tweaks to display of "views" tabs (MARC, ISBD, etc).

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoTweaks to display of "views" tabs (MARC, ISBD, etc).
Owen Leonard [Wed, 26 Nov 2008 20:45:58 +0000 (14:45 -0600)]
Tweaks to display of "views" tabs (MARC, ISBD, etc).

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoCleaning up Self-Checkout interface, adding some basic formatting based on other...
Owen Leonard [Wed, 26 Nov 2008 20:46:07 +0000 (14:46 -0600)]
Cleaning up Self-Checkout interface, adding some basic formatting based on other standard styles.

Patch also removes a hard-coded English string from the script and some unused functions from sco.js.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoremove superfluous retrieval of $ENV{'REMOTE_USER'}
Galen Charlton [Fri, 5 Dec 2008 17:09:32 +0000 (11:09 -0600)]
remove superfluous retrieval of $ENV{'REMOTE_USER'}

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoSome minor markup corrections to opac authorities pages. Some fixes to address Bug...
Owen Leonard [Tue, 7 Oct 2008 18:51:07 +0000 (13:51 -0500)]
Some minor markup corrections to opac authorities pages. Some fixes to address Bug 2620.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoRemove hardcoded "Freelist" line from Auth.
Joe Atzberger [Tue, 30 Sep 2008 22:00:40 +0000 (17:00 -0500)]
Remove hardcoded "Freelist" line from Auth.

Apparently a leftover debugging snippet.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 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>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoGreek, Croatian, Portuguese and Turkish updates
Chris Cormack [Tue, 26 May 2009 02:42:11 +0000 (14:42 +1200)]
Greek, Croatian, Portuguese and Turkish updates

15 years agoFrench Canadia, Greek, Dari and Turkish updates
Chris Cormack [Sun, 24 May 2009 05:22:45 +0000 (17:22 +1200)]
French Canadia, Greek, Dari and Turkish updates

15 years agoTurkish and dari updates
Chris Cormack [Fri, 22 May 2009 09:13:24 +0000 (21:13 +1200)]
Turkish and dari updates

15 years agoTurkish and Greek updates
Chris Cormack [Thu, 21 May 2009 10:01:06 +0000 (22:01 +1200)]
Turkish and Greek updates

15 years agoGreek, french canadian, and Turkish updates
Chris Cormack [Tue, 19 May 2009 21:47:22 +0000 (09:47 +1200)]
Greek, french canadian, and Turkish updates

15 years agoGreek, French (canada), Slovak, Turkish and Tetun updates
Chris Cormack [Tue, 19 May 2009 09:01:05 +0000 (21:01 +1200)]
Greek, French (canada), Slovak, Turkish and Tetun updates

15 years agoMore updates
Chris Cormack [Mon, 18 May 2009 14:49:42 +0000 (02:49 +1200)]
More updates

15 years agoMore language updates
Chris Cormack [Mon, 18 May 2009 11:01:19 +0000 (23:01 +1200)]
More language updates

15 years agoArabic and german updates
Chris Cormack [Mon, 18 May 2009 09:41:12 +0000 (21:41 +1200)]
Arabic and german updates

15 years agoUpdated strings for 3.0.2 release
Chris Cormack [Mon, 18 May 2009 09:22:58 +0000 (21:22 +1200)]
Updated strings for 3.0.2 release

15 years agoSlovak opac update
Chris Cormack [Sun, 17 May 2009 10:01:32 +0000 (22:01 +1200)]
Slovak opac update

15 years agoLots of language updates
Chris Cormack [Sun, 17 May 2009 09:51:01 +0000 (21:51 +1200)]
Lots of language updates

15 years agoSlovak translations
Chris Cormack [Sun, 17 May 2009 09:50:37 +0000 (21:50 +1200)]
Slovak translations

15 years agoUpdated po files for 3.0.2 release
Chris Cormack [Sat, 9 May 2009 11:19:30 +0000 (23:19 +1200)]
Updated po files for 3.0.2 release

15 years agoTetun intranet updates
Chris Cormack [Thu, 7 May 2009 08:39:42 +0000 (20:39 +1200)]
Tetun intranet updates

15 years agoGerman OPAC update
Chris Cormack [Thu, 7 May 2009 08:38:16 +0000 (20:38 +1200)]
German OPAC update

15 years agoChinese (Taiwan) Intranet and OPAC updates
Chris Cormack [Thu, 7 May 2009 08:37:32 +0000 (20:37 +1200)]
Chinese (Taiwan) Intranet and OPAC updates

15 years agoTetun language updates
Chris Cormack [Sat, 2 May 2009 21:45:15 +0000 (09:45 +1200)]
Tetun language updates

15 years agoUpdating French Canadian intranet adding US english Academic
Chris Cormack [Sat, 2 May 2009 20:37:36 +0000 (08:37 +1200)]
Updating French Canadian intranet adding US english Academic

15 years agoDutch opac updates
Chris Cormack [Sat, 25 Apr 2009 19:37:27 +0000 (07:37 +1200)]
Dutch opac updates

15 years agoGerman opac updates
Chris Cormack [Sat, 25 Apr 2009 19:34:46 +0000 (07:34 +1200)]
German opac updates

15 years agoTetun opac updates
Chris Cormack [Sat, 25 Apr 2009 03:51:16 +0000 (15:51 +1200)]
Tetun opac updates

15 years agoPortuguese opac and intranet updates
Chris Cormack [Sat, 25 Apr 2009 03:50:52 +0000 (15:50 +1200)]
Portuguese opac and intranet updates

15 years agoTetun staff interface updates
Chris Cormack [Fri, 24 Apr 2009 03:34:35 +0000 (15:34 +1200)]
Tetun staff interface updates

15 years agoTetun and French canadian update
Chris Cormack [Sat, 18 Apr 2009 14:46:17 +0000 (02:46 +1200)]
Tetun and French canadian update

15 years agoTetun intranet updates
Chris Cormack [Mon, 13 Apr 2009 05:54:36 +0000 (17:54 +1200)]
Tetun intranet updates

15 years agoTetun Intranet
Chris Cormack [Fri, 10 Apr 2009 06:05:19 +0000 (18:05 +1200)]
Tetun Intranet

15 years agoTetun Opac
Chris Cormack [Fri, 10 Apr 2009 06:02:44 +0000 (18:02 +1200)]
Tetun Opac

15 years agoGerman Intranet and Brazilian Portuguese Intranet updates
Chris Cormack [Fri, 10 Apr 2009 06:01:51 +0000 (18:01 +1200)]
German Intranet and Brazilian Portuguese Intranet updates

15 years agoBrazilian Portuguese Opac updates
Chris Cormack [Mon, 6 Apr 2009 07:04:53 +0000 (19:04 +1200)]
Brazilian Portuguese Opac updates

15 years agoCatalan opac updates
Chris Cormack [Mon, 6 Apr 2009 06:55:01 +0000 (18:55 +1200)]
Catalan opac updates

15 years agoStarting Brazilian Portuguese translations
Chris Cormack [Sat, 4 Apr 2009 19:57:11 +0000 (07:57 +1200)]
Starting Brazilian Portuguese translations

15 years agoPashto opac and intranet
Chris Cormack [Tue, 31 Mar 2009 09:12:25 +0000 (22:12 +1300)]
Pashto opac and intranet

15 years agoDari opac and intranet
Chris Cormack [Tue, 31 Mar 2009 09:11:43 +0000 (22:11 +1300)]
Dari opac and intranet

15 years agoCzech intranet and Opac
Chris Cormack [Tue, 31 Mar 2009 09:09:52 +0000 (22:09 +1300)]
Czech intranet and Opac

15 years agoThai opac updates
Chris Cormack [Tue, 31 Mar 2009 03:07:41 +0000 (16:07 +1300)]
Thai opac updates

15 years agoDutch intranet update
Chris Cormack [Wed, 25 Mar 2009 07:44:48 +0000 (20:44 +1300)]
Dutch intranet update

15 years agoGerman intranet updates
Chris Cormack [Thu, 12 Mar 2009 06:22:31 +0000 (19:22 +1300)]
German intranet updates

15 years agoCroatian Opac updates
Chris Cormack [Sun, 8 Mar 2009 09:00:28 +0000 (22:00 +1300)]
Croatian Opac updates

15 years agoAdding catalan
Chris Cormack [Sat, 7 Mar 2009 19:05:38 +0000 (08:05 +1300)]
Adding catalan

15 years agoThe last of the broken intranet files
Chris Cormack [Sat, 7 Mar 2009 19:04:43 +0000 (08:04 +1300)]
The last of the broken intranet files

15 years agoFixing more intranet .po files
Chris Cormack [Sat, 7 Mar 2009 19:03:21 +0000 (08:03 +1300)]
Fixing more intranet .po files

15 years agoMore broken intranet .po files
Chris Cormack [Sat, 7 Mar 2009 19:00:09 +0000 (08:00 +1300)]
More broken intranet .po files

15 years agoFixing overwritten intranet po file (Greek)
Chris Cormack [Sat, 7 Mar 2009 18:48:30 +0000 (07:48 +1300)]
Fixing overwritten intranet po file (Greek)

15 years agoFixed German intranet po files (had been overwritten by the opac by mistake)
Chris Cormack [Sat, 7 Mar 2009 18:36:45 +0000 (07:36 +1300)]
Fixed German intranet po files (had been overwritten by the opac by mistake)

15 years agoRevert "Fix the guided report export, bad check of errors(bug #2672)"
Henri-Damien LAURENT [Fri, 6 Mar 2009 16:05:25 +0000 (17:05 +0100)]
Revert "Fix the guided report export, bad check of errors(bug #2672)"

This reverts commit ae4b02cdc4786bfd87f924f639b416f37c47c631.

15 years agoFix :Fatal Errors occurs when date is not a regular date
Henri-Damien LAURENT [Fri, 6 Mar 2009 10:59:33 +0000 (11:59 +0100)]
Fix :Fatal Errors occurs when date is not a regular date

When the start date or the "current date" is not a regular date
the transformation and checkdate fails because there is no
Year/Month/Date
This patch makes it fail more 'silenty' for the users and raises an
error that could be coped with.

15 years ago(bug #1758) change the position of GetCOinSBiblio()
Nahuel ANGELINETTI [Thu, 5 Feb 2009 13:04:46 +0000 (14:04 +0100)]
(bug #1758) change the position of GetCOinSBiblio()

The last position getting the COinS of a record wasn't possible in all cases.
This patch just get the COinS earlier in the loop.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoDelete all calls to thesaurus_popup.pl, and no more used plugins.
Nahuel Angelinetti [Mon, 1 Dec 2008 09:02:26 +0000 (10:02 +0100)]
Delete all calls to thesaurus_popup.pl, and no more used plugins.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoMove checks of additem.pl to the API
Nahuel Angelinetti [Thu, 13 Nov 2008 14:30:42 +0000 (15:30 +0100)]
Move checks of additem.pl to the API

This patch create a new function DelItemCheck, that add some checks before deleting an item and return 1 if it worked fine, else an error
code (the same as in additem.pl).

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agofix the previous patch to add a syspref that permit to choose the renewal period...
Nahuel Angelinetti [Wed, 12 Nov 2008 09:16:22 +0000 (10:16 +0100)]
fix the previous patch to add a syspref that permit to choose the renewal period(day or date_due).

This patch just check the syspref and use it as base date of renew.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agochange the date calc, to set the date_due to date_due+loanlength.
Nahuel Angelinetti [Mon, 10 Nov 2008 11:54:12 +0000 (12:54 +0100)]
change the date calc, to set the date_due to date_due+loanlength.

At the moment when you renew a document the date_due calculated is now+loanlength, but it's a bad thing, It should be
date_due+loanlength.
This patch do change Circulation.pm to use the date_due as renew base and add the loanlength to get the new date_due after
renewal.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobad image location
Nahuel Angelinetti [Mon, 10 Nov 2008 16:13:36 +0000 (17:13 +0100)]
bad image location

This patch make Page.pm to use the getitemtypeinfo function to generate the imageurl, and check (in the template) if an
image is set.
I backported a function from koha3.2, and the use of URI::Split.
Before this patch, always the "Alt" information was shown, because the url wasn't right.

Please enter the commit message for your changes.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoBad account expiration message when a user isn't, and no message when it is
Nahuel Angelinetti [Mon, 10 Nov 2008 09:58:40 +0000 (10:58 +0100)]
Bad account expiration message when a user isn't, and no message when it is

When you try to hold a document for a non expired user, a warning tell you the account is expired, and when the account is expired there is no
message.
This patch do the inverse.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoAdd a date field in news edition, and permit to set the "timestamp" field, that is...
Nahuel Angelinetti [Thu, 6 Nov 2008 10:01:32 +0000 (11:01 +0100)]
Add a date field in news edition, and permit to set the "timestamp" field, that is the publication date and modify the GetNewsToDisplay to return only news that timestamp is < to current date that permit to publish news later without any action.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago(bug #2948) change the aqbudgetid column type
Nahuel ANGELINETTI [Fri, 6 Feb 2009 13:55:40 +0000 (14:55 +0100)]
(bug #2948) change the aqbudgetid column type

This patch make a database upgrade, to have an int(11) as a primary unique id, instead of a tinyint(4)(one byte).

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago(bug #2938)[follow previous] Add new report in menus
Nahuel ANGELINETTI [Mon, 2 Feb 2009 08:26:23 +0000 (09:26 +0100)]
(bug #2938)[follow previous] Add new report in menus

Just adding the new report in miscellaneous menus

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago(bug #2933) change popup names containing space chars
Nahuel ANGELINETTI [Thu, 29 Jan 2009 14:21:17 +0000 (15:21 +0100)]
(bug #2933) change popup names containing space chars

This patch change all call to open.window that have a window identifier which contains space chars.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago(bug #2929) permit to define "fine days" in issuing rules
Nahuel ANGELINETTI [Wed, 28 Jan 2009 09:37:02 +0000 (10:37 +0100)]
(bug #2929) permit to define "fine days" in issuing rules

This patch add a function un C4::Members that check if a user is allowed to loan a document.
Add a control in issuing.
Add a column in issuingrules table.
And add the needed control in admin to set the fine days rules.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago(bug #2915) C4::Biblio::DelBiblio delete the serials
Nahuel ANGELINETTI [Thu, 15 Jan 2009 09:15:18 +0000 (10:15 +0100)]
(bug #2915) C4::Biblio::DelBiblio delete the serials

This patch add the serials deletion in DelBiblio function, so now when a record is deleted all attached serials will be too.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago(bug #2856) Activate the duplicate patrons detection and check birthdate only if...
Nahuel ANGELINETTI [Thu, 11 Dec 2008 08:56:06 +0000 (09:56 +0100)]
(bug #2856) Activate the duplicate patrons detection and check birthdate only if one is set

This patch activate the check of unique member, it was checked but not shown, and the member was added even if a duplicate was
detected.
It improve the duplicate detection, to check the birthdate only if it was specified in the form.
And fix an url of "Yes" link(if the borrower added IS the duplicate detected).

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoDelete a hidden tag that is not needed and create an error
Nahuel Angelinetti [Wed, 3 Dec 2008 11:37:06 +0000 (12:37 +0100)]
Delete a hidden tag that is not needed and create an error

The bug exists because for each table line, an hidden field was set, with subscriptionid, but it's not used by the script and
create a bug "Request-URI Too Large".

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoFix the guided report export, bad check of errors(bug #2672)
Nahuel Angelinetti [Wed, 15 Oct 2008 08:03:41 +0000 (10:03 +0200)]
Fix the guided report export, bad check of errors(bug #2672)

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobug 2540: allow download of report
Galen Charlton [Thu, 21 Aug 2008 15:48:31 +0000 (10:48 -0500)]
bug 2540: allow download of report

$error return C4::Reports::execute_query is
always defined.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoFix the checked box "manual history" and fix the "null" value of serial next issue...
Nahuel Angelinetti [Fri, 17 Oct 2008 13:44:44 +0000 (15:44 +0200)]
Fix the checked box "manual history" and fix the "null" value of serial next issue publication date

first part of this patch is the manual history must be checked if in database its checked.
Then, when you do not enter a value "Next issue publication date", a null value was set in the database, now, if empty, the  "first issue date" is set as "next issue".
And finally, We check that "manual history" is checked to show the "Subscription history" part. Actually its never shown.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>