Michael Hafen [Tue, 24 Feb 2009 19:05:50 +0000 (12:05 -0700)]
Add option to inventory tool to ignore copies on loan
This adds an option to the inventory tool causing it to ignore copies
currently on loan. This is good if you want to do inventory, but don't
want to update the date-last-seen on items currently on loan.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Owen Leonard [Tue, 10 Feb 2009 20:45:36 +0000 (14:45 -0600)]
Changes to improve keyboard access to global search box tabs.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Andrew Elwell [Mon, 9 Feb 2009 21:30:53 +0000 (22:30 +0100)]
Moved several etch packages from cpan install to the packages.debian.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Owen Leonard [Tue, 10 Feb 2009 20:45:47 +0000 (14:45 -0600)]
Correcting title of link to admin/itemtypes.pl from "Item types and circulationcodes" to just "Item types." Ccodes are authorized values.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Michael Hafen [Mon, 2 Feb 2009 23:24:53 +0000 (16:24 -0700)]
add some search indexes to opac advanced search that are on quick search
This adds ISBN and Call Number, which are in the quick search index
list, but are not in the advanced search index lists.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Galen Charlton [Tue, 10 Feb 2009 22:38:11 +0000 (16:38 -0600)]
reduce bib fetches during search and OPAC display
Speed up bib search and OPAC bib display, especially
when the XSLT OPAC results and details display sysprefs are
ON, by passing an existing MARC::Record object to three
functions:
C4::Biblio::get_biblio_authorised_values()
C4::XSLT::XSLTParse4Display()
C4::XSLT::transformMARCXML4XSLT (internal)
These functions previously fetched the bib from the
database, incurring the cost of DB retrieval and MARCXML
parsing even though client code already had a
MARC::Record object available.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Daniel Sweeney [Wed, 4 Feb 2009 16:46:25 +0000 (10:46 -0600)]
Added empty item call number test to copies for reserve; added ending punctuation to availability statuses.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Joshua Ferraro [Wed, 4 Feb 2009 16:46:24 +0000 (10:46 -0600)]
Fixes to two issues with status display on OPAC:
1. rather than testing for notforloan == -1, test for any negative values to set the On order status
2. in cases where itemcallnumber is blank or null, don't display the itemcallnumber brackets []
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Joshua Ferraro [Wed, 4 Feb 2009 16:46:21 +0000 (10:46 -0600)]
Displays the itemcallnumber in brackets next to location in XSL Results
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Chris Cormack [Tue, 26 May 2009 02:42:11 +0000 (14:42 +1200)]
Greek, Croatian, Portuguese and Turkish updates
Chris Cormack [Sun, 24 May 2009 05:22:45 +0000 (17:22 +1200)]
French Canadia, Greek, Dari and Turkish updates
Chris Cormack [Fri, 22 May 2009 09:13:24 +0000 (21:13 +1200)]
Turkish and dari updates
Chris Cormack [Thu, 21 May 2009 10:01:06 +0000 (22:01 +1200)]
Turkish and Greek updates
Chris Cormack [Tue, 19 May 2009 21:47:22 +0000 (09:47 +1200)]
Greek, french canadian, and Turkish updates
Chris Cormack [Tue, 19 May 2009 09:01:05 +0000 (21:01 +1200)]
Greek, French (canada), Slovak, Turkish and Tetun updates
Chris Cormack [Mon, 18 May 2009 14:49:42 +0000 (02:49 +1200)]
More updates
Chris Cormack [Mon, 18 May 2009 11:01:19 +0000 (23:01 +1200)]
More language updates
Chris Cormack [Mon, 18 May 2009 09:41:12 +0000 (21:41 +1200)]
Arabic and german updates
Chris Cormack [Mon, 18 May 2009 09:22:58 +0000 (21:22 +1200)]
Updated strings for 3.0.2 release
Chris Cormack [Sun, 17 May 2009 10:01:32 +0000 (22:01 +1200)]
Slovak opac update
Chris Cormack [Sun, 17 May 2009 09:51:01 +0000 (21:51 +1200)]
Lots of language updates
Chris Cormack [Sun, 17 May 2009 09:50:37 +0000 (21:50 +1200)]
Slovak translations
Chris Cormack [Sat, 9 May 2009 11:19:30 +0000 (23:19 +1200)]
Updated po files for 3.0.2 release
Chris Cormack [Thu, 7 May 2009 08:39:42 +0000 (20:39 +1200)]
Tetun intranet updates
Chris Cormack [Thu, 7 May 2009 08:38:16 +0000 (20:38 +1200)]
German OPAC update
Chris Cormack [Thu, 7 May 2009 08:37:32 +0000 (20:37 +1200)]
Chinese (Taiwan) Intranet and OPAC updates
Chris Cormack [Sat, 2 May 2009 21:45:15 +0000 (09:45 +1200)]
Tetun language updates
Chris Cormack [Sat, 2 May 2009 20:37:36 +0000 (08:37 +1200)]
Updating French Canadian intranet adding US english Academic
Chris Cormack [Sat, 25 Apr 2009 19:37:27 +0000 (07:37 +1200)]
Dutch opac updates
Chris Cormack [Sat, 25 Apr 2009 19:34:46 +0000 (07:34 +1200)]
German opac updates
Chris Cormack [Sat, 25 Apr 2009 03:51:16 +0000 (15:51 +1200)]
Tetun opac updates
Chris Cormack [Sat, 25 Apr 2009 03:50:52 +0000 (15:50 +1200)]
Portuguese opac and intranet updates
Chris Cormack [Fri, 24 Apr 2009 03:34:35 +0000 (15:34 +1200)]
Tetun staff interface updates
Chris Cormack [Sat, 18 Apr 2009 14:46:17 +0000 (02:46 +1200)]
Tetun and French canadian update
Chris Cormack [Mon, 13 Apr 2009 05:54:36 +0000 (17:54 +1200)]
Tetun intranet updates
Chris Cormack [Fri, 10 Apr 2009 06:05:19 +0000 (18:05 +1200)]
Tetun Intranet
Chris Cormack [Fri, 10 Apr 2009 06:02:44 +0000 (18:02 +1200)]
Tetun Opac
Chris Cormack [Fri, 10 Apr 2009 06:01:51 +0000 (18:01 +1200)]
German Intranet and Brazilian Portuguese Intranet updates
Chris Cormack [Mon, 6 Apr 2009 07:04:53 +0000 (19:04 +1200)]
Brazilian Portuguese Opac updates
Chris Cormack [Mon, 6 Apr 2009 06:55:01 +0000 (18:55 +1200)]
Catalan opac updates
Chris Cormack [Sat, 4 Apr 2009 19:57:11 +0000 (07:57 +1200)]
Starting Brazilian Portuguese translations
Chris Cormack [Tue, 31 Mar 2009 09:12:25 +0000 (22:12 +1300)]
Pashto opac and intranet
Chris Cormack [Tue, 31 Mar 2009 09:11:43 +0000 (22:11 +1300)]
Dari opac and intranet
Chris Cormack [Tue, 31 Mar 2009 09:09:52 +0000 (22:09 +1300)]
Czech intranet and Opac
Chris Cormack [Tue, 31 Mar 2009 03:07:41 +0000 (16:07 +1300)]
Thai opac updates
Chris Cormack [Wed, 25 Mar 2009 07:44:48 +0000 (20:44 +1300)]
Dutch intranet update
Chris Cormack [Thu, 12 Mar 2009 06:22:31 +0000 (19:22 +1300)]
German intranet updates
Chris Cormack [Sun, 8 Mar 2009 09:00:28 +0000 (22:00 +1300)]
Croatian Opac updates
Chris Cormack [Sat, 7 Mar 2009 19:05:38 +0000 (08:05 +1300)]
Adding catalan
Chris Cormack [Sat, 7 Mar 2009 19:04:43 +0000 (08:04 +1300)]
The last of the broken intranet files
Chris Cormack [Sat, 7 Mar 2009 19:03:21 +0000 (08:03 +1300)]
Fixing more intranet .po files
Chris Cormack [Sat, 7 Mar 2009 19:00:09 +0000 (08:00 +1300)]
More broken intranet .po files
Chris Cormack [Sat, 7 Mar 2009 18:48:30 +0000 (07:48 +1300)]
Fixing overwritten intranet po file (Greek)
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)
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.
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>