]> git.koha-community.org Git - koha.git/log
koha.git
15 years agoFix itemtype image problem in moremember.pl
Jesse Weaver [Fri, 22 Aug 2008 15:54:31 +0000 (10:54 -0500)]
Fix itemtype image problem in moremember.pl

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2509: fix file permissions
Galen Charlton [Thu, 21 Aug 2008 21:39:45 +0000 (16:39 -0500)]
bug 2509: fix file permissions

Following suggestion by Vincent Danjean for Debian
packaging, 0755 -> 0644 for non-executable
files.

Also removed shebang from a few modules in C4.

Signed-off-by: Galen Charlton <galen.charlton@liblime.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: Chris Cormack <chris@bigballofwax.co.nz>
15 years agofix for bug 1771: Template errors with remote itemtype image
Jesse Weaver [Wed, 20 Aug 2008 18:21:50 +0000 (13:21 -0500)]
fix for bug 1771: Template errors with remote itemtype image

This adds a new function, getitemtypeimagelocation, that returns the image
unmodified for absolute urls and returns the proper intranet or opac path
otherwise. It also updates all of the relevant files to use that function.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoFix for minor error in shelfbrowser queries
Jesse Weaver [Tue, 19 Aug 2008 22:11:21 +0000 (17:11 -0500)]
Fix for minor error in shelfbrowser queries

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agofix for bug 2477: Improve Speed of the Shelf Browser
Jesse Weaver [Tue, 19 Aug 2008 19:01:23 +0000 (14:01 -0500)]
fix for bug 2477: Improve Speed of the Shelf Browser

This patch updates the queries for the shelf browser in opac-detail.pl for a
slight performance gain. It also adds a param for dateformat to C4::Auth to
fix a warning.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2527: avoid targeting of items on hold shelf
Galen Charlton [Fri, 15 Aug 2008 21:38:22 +0000 (16:38 -0500)]
bug 2527: avoid targeting of items on hold shelf

SQL fix to properly ensure that if an item is on
the hold shelf, it will not be used for request
targeting, which applies only to items that are
not already on the hold shelf.

Prior to this fix, when checking out an item on the
hold shelf that fills patron A's hold request, it
was possible for that request to not be marked as
filled if another patron had an item-level request
on the item; the second patron's request was
incorrectly targeted by that item.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoBug 2524: improving the submitted test reports
Andrew Moore [Fri, 15 Aug 2008 18:17:14 +0000 (13:17 -0500)]
Bug 2524: improving the submitted test reports

switching from 'prove' to 'perl' to run the test scripts when we're preparing
them to be submitted to smolder. Prove adds an additional summary at the end
of the test run which confuses the TAP parser in smolder. It thinks that an
additional test has been run, and it fails it.

Then, I added a '-' before the command in the Makefile. THat's so that even
if 'perl' returns a failing code (because some tess failed), the rest of the
rules are run and a report gets submitted. Othewise, only passing reports
get sent.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoBug 2524: Adding script to submit test reports to smolder server
Andrew Moore [Fri, 15 Aug 2008 13:41:28 +0000 (08:41 -0500)]
Bug 2524: Adding script to submit test reports to smolder server

This patch adds a target in the t/Makefile and a script in t/smolder_smoke_signal
to submit the results of test runs to a smolder server. It will allow users to submit
their own test results to a central location by running "make submit" from the t/
directory.

Smolder is a web-based application that aggregates and presents the output of
tests. We have an instance running at:
http://arwen.metavore.com:8000/app/public_projects/smoke_reports/1

More information about using smolder for Koha is available at:
http://wiki.koha.org/doku.php?id=en:development:smoke_reports

I intend to have the test suite run each night automatically and the results
sent to the smolder server. This will help us keep track of the current state
of the the code and possibly catch bugs introduced by changes. I encourge others
to submit their own test results if they want, especially if they are on an unusual
platform or are with a non-standard configuration.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2522 [3/3]: populate hold_fill_targets
Galen Charlton [Fri, 15 Aug 2008 01:59:51 +0000 (20:59 -0500)]
bug 2522 [3/3]: populate hold_fill_targets

This batch job now automatically populates the
holds request targeting table hold_fill_targets.

This patch is essentially a revamp of the job,
and includes fixes for the following bugs:

2281 (holds queue report including unavailable items)
2331 (holds queue report not working with item-level
      holds)
2332 (holds queue script should attempt to fill
      many requests as possible).

Several functions in this batch job are candidates
for being moved to C4::Reserves:

GetBibsWithPendingHoldRequests()
GetPendingHoldRequestsForBib()
GetItemsAvailableToFillHoldRequestsForBib()
MapItemsToHoldRequests()

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2522 [2/3]: C4::Reserves support for request targeting
Galen Charlton [Fri, 15 Aug 2008 01:59:50 +0000 (20:59 -0500)]
bug 2522 [2/3]: C4::Reserves support for request targeting

_Findgroupreserve, which identifies which hold request an
item should fill, is modified to check to see if
that item is targeted to fill a specific hold request.

It first checks for a targeted match with an item-level hold request,
then a targeted match with a title-level request.  If no
such targeted match exists, it then checks for the top entries
in the holds queue.

The hold targeting map (i.e., the hold_fill_targets table) is
populated by the build_holds_queue.pl batch job.  If that
job is not used, the behavior of _Findgroupreserve
is not changed.

This patch also

* adjusts ModReserveMinusPriority so that it calls
  _FixPriority().
* adjusts circ/returns.pl so that it
  correctly detects transfers.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2522 [1/3]: DB rev 3.1/001 - hold request targetting
Galen Charlton [Fri, 15 Aug 2008 01:59:49 +0000 (20:59 -0500)]
bug 2522 [1/3]: DB rev 3.1/001 - hold request targetting

For bug 2522, add a new table called hold_fill_targets to
implement hold request targeting.  This table
has the following columns:

  borrowernumber     - identify request
  biblionumber       - ditto
  itemnumber         - item targeted to fill request
  source_branchcode  - current location of item
  item_level_request - if 1, request is item-level

For bug 2331, adds a column called item_level_request
to tmp_holdsqueue.

Note: both of the item_level_request columns can
go away once reserves is modified so that
it is clear whether a request is item-level or
bib-level.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoFix for bug 2155: duplicate checkin box on returns screen
Jesse Weaver [Thu, 14 Aug 2008 18:08:47 +0000 (13:08 -0500)]
Fix for bug 2155: duplicate checkin box on returns screen

This changes some css and markup to make the return box at the top not show when one is on the checkin screen. It also moves the markup for the autocompleting search box to its own file.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agobug 2341: OPAC title-level holds permitted when items are on-order
Galen Charlton [Thu, 14 Aug 2008 16:48:41 +0000 (11:48 -0500)]
bug 2341: OPAC title-level holds permitted when items are on-order

Changed so that the presence of an on-order item (items.notforloan =- -1)
permits a title-level hold request to be made.  Prior to this patch,
if all of the items linked to the bib were on-order, no title-level
request was permitted.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agofollowup to Mason's labels patch
Galen Charlton [Wed, 31 Dec 2008 20:46:09 +0000 (14:46 -0600)]
followup to Mason's labels patch

* fix XHTML errors
* fix problems with paging through results list

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoThe current searching in labels is a bit minimal, and current only does keyword searc...
Mason James [Wed, 12 Nov 2008 06:55:39 +0000 (19:55 +1300)]
The current searching in labels is a bit minimal, and current only does keyword searching.

there is some old 2.2 code for more complete labels-searching, thats been commented out

ive logged a 'bug' for this - 2777

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

this fix...
  - enables the index-searching functionality
  - adds date-ranges
  - uses the numSearchResults syspref, not a hardcoded '20'
  - rewrote old 2.2 page-num code, (didnt work for 3.x)
  - some indent and whitepages tidys.
  - unused 2.2 search-code removed.

Mason

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

Documentation may require an updated screen shot

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agomasthead - realign terminology for Tag Cloud
Chris Cormack [Thu, 3 Sep 2009 20:34:04 +0000 (08:34 +1200)]
masthead - realign terminology for Tag Cloud

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

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Conflicts:

koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc

15 years agoFrench opac updates
Chris Cormack [Mon, 31 Aug 2009 22:22:49 +0000 (10:22 +1200)]
French opac updates

15 years agoItalian updates
Chris Cormack [Sat, 29 Aug 2009 09:38:41 +0000 (21:38 +1200)]
Italian updates
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
15 years agoItalian Translation updates
Chris Cormack [Wed, 26 Aug 2009 10:24:52 +0000 (22:24 +1200)]
Italian Translation updates

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
15 years agoMalay po files
Chris Cormack [Mon, 24 Aug 2009 08:58:51 +0000 (20:58 +1200)]
Malay po files

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
15 years agoDutch language updates
Chris Cormack [Sun, 23 Aug 2009 10:45:54 +0000 (22:45 +1200)]
Dutch language updates

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
15 years agoItalian and Turkish updates
Chris Cormack [Thu, 20 Aug 2009 10:35:47 +0000 (22:35 +1200)]
Italian and Turkish updates

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
15 years agoTurkish updates for 3.0.x
Chris Cormack [Sat, 15 Aug 2009 18:58:02 +0000 (06:58 +1200)]
Turkish updates for 3.0.x

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
15 years agoTurkish and German updates
Chris Cormack [Sat, 15 Aug 2009 06:09:03 +0000 (18:09 +1200)]
Turkish and German updates

15 years agoFixing a bug in Turkish
Chris Cormack [Sun, 9 Aug 2009 09:42:26 +0000 (21:42 +1200)]
Fixing a bug in Turkish

15 years agoDutch, German and Turkish language updates
Chris Cormack [Sat, 8 Aug 2009 08:25:50 +0000 (20:25 +1200)]
Dutch, German and Turkish language updates

15 years agoGerman and French updates
Chris Cormack [Wed, 5 Aug 2009 02:58:22 +0000 (14:58 +1200)]
German and French updates

15 years agoGerman, French, NZ english, and Tagalog updates
Chris Cormack [Fri, 31 Jul 2009 19:29:25 +0000 (07:29 +1200)]
German, French, NZ english, and Tagalog updates

15 years agoGerman, French, Italian, Dutch and Tetum updates
Chris Cormack [Tue, 28 Jul 2009 08:17:39 +0000 (20:17 +1200)]
German, French, Italian, Dutch and Tetum updates

15 years agoTagalog added for translation
Chris Cormack [Thu, 9 Jul 2009 03:54:41 +0000 (15:54 +1200)]
Tagalog added for translation

15 years agoGerman updates
Chris Cormack [Thu, 9 Jul 2009 03:53:08 +0000 (15:53 +1200)]
German updates

15 years agoLittle fix to Maori
Chris Cormack [Mon, 6 Jul 2009 01:33:00 +0000 (13:33 +1200)]
Little fix to Maori

15 years agoMaori Opac Translation finished
Chris Cormack [Mon, 6 Jul 2009 01:18:20 +0000 (13:18 +1200)]
Maori Opac Translation finished

15 years agoBengali, french canadian and tetun updates
Chris Cormack [Sat, 4 Jul 2009 10:44:37 +0000 (22:44 +1200)]
Bengali, french canadian and tetun updates

15 years agoPreparing 3.0.3 v3.00.03
Henri-Damien LAURENT [Fri, 26 Jun 2009 13:57:18 +0000 (15:57 +0200)]
Preparing 3.0.3

15 years agoBug Fixing : 3334
Henri-Damien LAURENT [Fri, 19 Jun 2009 11:23:33 +0000 (13:23 +0200)]
Bug Fixing : 3334

MANIFEST.SKIP with grouping orig back and old
had a problem with hold-transfer-slip.pl

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoBug Fix 3320 : condition on enabling field input was wrong
Henri-Damien LAURENT [Fri, 26 Jun 2009 08:05:30 +0000 (10:05 +0200)]
Bug Fix 3320 : condition on enabling field input was wrong

15 years agoFrench and greek updates
Chris Cormack [Mon, 22 Jun 2009 23:23:30 +0000 (11:23 +1200)]
French and greek updates

15 years agoTetun, German and Turkish updates
Chris Cormack [Thu, 18 Jun 2009 13:57:56 +0000 (01:57 +1200)]
Tetun, German and Turkish updates

15 years agoTurkish updates
Chris Cormack [Tue, 16 Jun 2009 02:53:17 +0000 (14:53 +1200)]
Turkish updates

15 years agoGerman and Turkish updates
Chris Cormack [Sun, 14 Jun 2009 19:30:48 +0000 (07:30 +1200)]
German and Turkish updates

15 years agobug Fixing opac/opac-reserve.pl was broken
Henri-Damien LAURENT [Fri, 12 Jun 2009 19:51:51 +0000 (21:51 +0200)]
bug Fixing opac/opac-reserve.pl was broken

15 years agoTurkish updates
Chris Cormack [Thu, 11 Jun 2009 11:01:05 +0000 (23:01 +1200)]
Turkish updates

15 years agoHindi and Turkish translations
Chris Cormack [Tue, 9 Jun 2009 19:45:27 +0000 (07:45 +1200)]
Hindi and Turkish translations

15 years agobug 3299: fix setting renewal due date explicitly
Galen Charlton [Sat, 6 Jun 2009 19:26:18 +0000 (14:26 -0500)]
bug 3299: fix setting renewal due date explicitly

When renewing a loan from the patron details page, setting
the renewal due date now works again.  Broken by patch
for bug 2770.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agoTurkish and Greek updates
Chris Cormack [Sun, 7 Jun 2009 11:08:06 +0000 (23:08 +1200)]
Turkish and Greek updates

15 years agoHindi, German and Turkish updates
Chris Cormack [Fri, 5 Jun 2009 19:03:24 +0000 (07:03 +1200)]
Hindi, German and Turkish updates

15 years agominor update on release notes v3.00.02-final
Henri-Damien LAURENT [Thu, 4 Jun 2009 12:09:39 +0000 (14:09 +0200)]
minor update on release notes

15 years agoUpdate release tarball upload proceedings
Henri-Damien LAURENT [Thu, 4 Jun 2009 12:04:22 +0000 (14:04 +0200)]
Update release tarball upload proceedings

15 years agoBug 3224 : inventory tool fails on DOS newlines
Ryan Higgins [Thu, 14 May 2009 07:46:45 +0000 (00:46 -0700)]
Bug 3224 : inventory tool fails on DOS newlines

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
15 years agorelease notes and version 3.0.2 v3.00.02-stable
Henri-Damien LAURENT [Wed, 3 Jun 2009 22:02:05 +0000 (00:02 +0200)]
release notes and version 3.0.2

15 years agoTurkish and Tetun updates
Chris Cormack [Wed, 3 Jun 2009 08:18:17 +0000 (20:18 +1200)]
Turkish and Tetun updates

15 years agoAdding Asir Doganer to the translation page
Chris Cormack [Tue, 2 Jun 2009 01:50:22 +0000 (13:50 +1200)]
Adding Asir Doganer to the translation page

15 years agofollowup : whitespace cleanup and remove editor comments
Joe Atzberger [Wed, 18 Mar 2009 22:21:48 +0000 (17:21 -0500)]
followup : whitespace cleanup and remove editor comments

No functionality affected.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoSpanish and Turkish updates
Chris Cormack [Mon, 1 Jun 2009 19:18:48 +0000 (07:18 +1200)]
Spanish and Turkish updates

15 years agoFixes Bug 3043: Followup.
Owen Leonard [Tue, 17 Mar 2009 20:02:43 +0000 (15:02 -0500)]
Fixes Bug 3043: Followup.

Previous integration of commit introduced problems with bookbag.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoSlovakian and Turkish updates
Chris Cormack [Fri, 29 May 2009 07:41:43 +0000 (19:41 +1200)]
Slovakian and Turkish updates

15 years agoPortuguese changes
Chris Cormack [Fri, 29 May 2009 01:48:51 +0000 (13:48 +1200)]
Portuguese changes

15 years agoPortuguese and Turkish
Chris Cormack [Thu, 28 May 2009 22:38:24 +0000 (10:38 +1200)]
Portuguese and Turkish

15 years agoSpanish, Turkish and Portuguese Translations
Chris Cormack [Thu, 28 May 2009 21:26:14 +0000 (09:26 +1200)]
Spanish, Turkish and Portuguese Translations

15 years agoFrench, Italian, Portuguese, Tetun and Turkish updates
Chris Cormack [Thu, 28 May 2009 21:03:03 +0000 (09:03 +1200)]
French, Italian, Portuguese, Tetun and Turkish updates

15 years agoRevert "Bug 2266: Could not uncollapse a tag if you turn on advancedMARCeditor."
Henri-Damien LAURENT [Wed, 27 May 2009 15:09:17 +0000 (17:09 +0200)]
Revert "Bug 2266: Could not uncollapse a tag if you turn on advancedMARCeditor."

This reverts commit 281f3ed8da6cfab9c24db49e2b506b0fa0b8fb88.

15 years agoPortuguese, Slovakian and Turkish updates
Chris Cormack [Wed, 27 May 2009 00:36:25 +0000 (12:36 +1200)]
Portuguese, Slovakian and Turkish updates

15 years agoUpdating french translations
Henri-Damien LAURENT [Mon, 25 May 2009 14:43:21 +0000 (16:43 +0200)]
Updating french translations

15 years agoBug 3245: advancedMARCeditor syspref not returning to cataloguing tab
Garry Collum [Thu, 21 May 2009 21:03:18 +0000 (17:03 -0400)]
Bug 3245: advancedMARCeditor syspref not returning to cataloguing tab

The advancedMARCeditor system preference was not returning to the cataloguing tab after you changed its value in system preferences.

15 years agoBug 2266: Could not uncollapse a tag if you turn on advancedMARCeditor.
Garry Collum [Sat, 23 May 2009 00:38:58 +0000 (20:38 -0400)]
Bug 2266: Could not uncollapse a tag if you turn on advancedMARCeditor.

Changed the tagnum <span> into an anchor and added javascript to expand the marc fields if the number is clicked.  This only worked properly when the html tag was an anchor.
The tagnum property in the css file that was changed is only used in addbiblio.tmpl, eventhough additem.tmpl and authorities.tmpl also use this css file.

15 years agoBUG FIXING : opac-browser wouldnot display anything.
Henri-Damien LAURENT [Tue, 26 Aug 2008 12:58:35 +0000 (14:58 +0200)]
BUG FIXING : opac-browser wouldnot display anything.

15 years agoBug 3162 Fix only for [3.0.x]
Zeno Tajoli [Sun, 17 May 2009 21:26:17 +0000 (23:26 +0200)]
Bug 3162 Fix only for [3.0.x]

15 years agoFixing Markup error on unimarc 115 plugin
Henri-Damien LAURENT [Mon, 18 May 2009 12:41:39 +0000 (14:41 +0200)]
Fixing Markup error on unimarc 115 plugin

15 years agoReordering branches.
Henri-Damien LAURENT [Mon, 21 Jul 2008 08:11:08 +0000 (10:11 +0200)]
Reordering branches.

15 years agoFixing Labtheses.pl
Henri-Damien LAURENT [Mon, 29 Sep 2008 19:44:59 +0000 (21:44 +0200)]
Fixing Labtheses.pl

15 years agobug 2908 followup - use "list", not "shelf"
Galen Charlton [Mon, 12 Jan 2009 22:16:47 +0000 (16:16 -0600)]
bug 2908 followup - use "list", not "shelf"

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago(bug #3080) fix the acqui/spent.pl
Nahuel ANGELINETTI [Wed, 1 Apr 2009 12:43:47 +0000 (14:43 +0200)]
(bug #3080) fix the acqui/spent.pl

this patch fix the sql request used in spent.pl

15 years ago(bug #3079) show summary in opac results
Nahuel ANGELINETTI [Tue, 12 May 2009 09:09:49 +0000 (11:09 +0200)]
(bug #3079) show summary in opac results

This add the summary in opac search results

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoadd subtitle to COinS for MARC21
Galen Charlton [Tue, 12 May 2009 00:03:50 +0000 (19:03 -0500)]
add subtitle to COinS for MARC21

Preserves change added in the LTFL integration
while also switching to Nahuel's COinS implementation.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago(bug #1578) fix a little error in code
Nahuel ANGELINETTI [Mon, 9 Mar 2009 13:34:27 +0000 (14:34 +0100)]
(bug #1578) fix a little error in code

This one, fix the use of "or" instead of "||", else a warning is raised.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoPrevent fines failure on NULL borrowernumber.
Joe Atzberger [Fri, 23 Jan 2009 22:22:40 +0000 (16:22 -0600)]
Prevent fines failure on NULL borrowernumber.

The problem is that we do not ensure that the issues table has valid
borrowernumber in each line.  This is exacerbated by Getoverdues()
returning data sorted BY borrowernumber.  So one NULL borrowernumber
in issues prevented ALL fines from being assessed.  The actual error
from fines.pl cron log is:
  No branchcode argument to new.  Should be C4::Calendar->new(branchcode => $branchcode)
  at /home/user/kohaclone/misc/cronjobs/fines.pl line 98

This patch deals only with getting fines to avoid crashing.  It does
not fix the underlying data integrity problem.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoexcised hard-coded reference to HLT
Galen Charlton [Mon, 11 May 2009 21:22:04 +0000 (16:22 -0500)]
excised hard-coded reference to HLT

Note to Chris Cormack: I suspect the current ability
to override most circulation conditions is sufficient,
but if HLT still needs to establish a patron category
that can ignore issuingimpossible limitations, needs
to be done in a more flexible way.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agofix references to $session in circ/circulation.pl
Galen Charlton [Mon, 11 May 2009 21:19:20 +0000 (16:19 -0500)]
fix references to $session in circ/circulation.pl

Now that sticky due date processing uses the session,
script will always need it.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoMake stickyduedate remember for session a little more permanent
Michael Hafen [Mon, 11 May 2009 20:52:35 +0000 (14:52 -0600)]
Make stickyduedate remember for session a little more permanent

Store the stickyduedate in the session.  So "Remember for Session" means
for session rather than "while on this page".

Includes some updates since initial submission of patch.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agofix to CanBookBeIssued()
Galen Charlton [Mon, 11 May 2009 21:10:37 +0000 (16:10 -0500)]
fix to CanBookBeIssued()

Bail out if item does not exist - otherwise
subsequent checks can fail for lack of an
item branchcode.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobug 988 followup - tweak wording
Galen Charlton [Mon, 11 May 2009 19:26:23 +0000 (14:26 -0500)]
bug 988 followup - tweak wording

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agofix for #988
Paul Poulain [Sat, 18 Apr 2009 20:51:41 +0000 (22:51 +0200)]
fix for #988

When a borrower can't issue any book (issuingrules=0), the message should be
"this user can't issue book" and not "too many books already issued"wrong message

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agotweak removal of whitespace from barcodes
Galen Charlton [Mon, 11 May 2009 16:39:19 +0000 (11:39 -0500)]
tweak removal of whitespace from barcodes

Per suggestion from Joe Atzberger, match on \s
instead of [ \t] for stripping leading and
trailing whitespace from barcode lookups.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agofix to remove leading/trailing whitespace from entered barcode.
Mason James [Thu, 19 Mar 2009 22:52:26 +0000 (11:52 +1300)]
fix to remove leading/trailing whitespace from entered barcode.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobugfix stickyduedate more sticky - couple more forms in circulation.tmpl
Michael Hafen [Wed, 6 May 2009 22:15:08 +0000 (16:15 -0600)]
bugfix stickyduedate more sticky - couple more forms in circulation.tmpl

There are a couple more forms in circulation.tmpl that need the
stickyduedate and duedatespec hidden inputs.  The 'Don't Check Out' form
of the needsconfirmation block, and the findborrower form.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobugfix stickyduedate more sticky - also patron search in quick search block
Michael Hafen [Wed, 6 May 2009 22:34:47 +0000 (16:34 -0600)]
bugfix stickyduedate more sticky - also patron search in quick search block

Forgot about the patron search for check out form in the quick search
block

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoadd windows quote to ignored chars
Nahuel ANGELINETTI [Mon, 11 May 2009 14:51:46 +0000 (16:51 +0200)]
add windows quote to ignored chars

This patch add the CP1252 "quote" (’) in ignored chars in zebra configuration.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agochange DOS newlines to Unix newlines in word-phrase-utf.chr
Galen Charlton [Mon, 11 May 2009 15:48:14 +0000 (10:48 -0500)]
change DOS newlines to Unix newlines in word-phrase-utf.chr

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoBugfix 3176 - Browser selected languages are not use by OPAC
Frédéric Demians [Thu, 30 Apr 2009 15:23:17 +0000 (17:23 +0200)]
Bugfix 3176 - Browser selected languages are not use by OPAC

This patch uses HTTP_ACCEPT_LANGUAGE web browser variable
to select OPAC available language.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoTweak ceilingDueDate and CalcDateDue
Michael Hafen [Wed, 29 Apr 2009 22:02:11 +0000 (16:02 -0600)]
Tweak ceilingDueDate and CalcDateDue

This patch moves ceilingDueDate and ReturnBeforeExpiry checking into
CalcDateDue(), so the renewal due date is also calculated with those.

Also restores a check in CanBookBeIssued.  If the due date isn't given
call CalcDateDue and make sure it's not in the past.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago(bug #3196) fix itemlost.pl
Nahuel ANGELINETTI [Thu, 7 May 2009 09:48:44 +0000 (11:48 +0200)]
(bug #3196) fix itemlost.pl

This patch fix 3 things:
* fix order by
* take care of item_level-itype
* use join in sql query

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agoBug 1984 - added Javascript in the header to open, print, and close the slip window
Liz Rea [Fri, 1 May 2009 20:26:41 +0000 (15:26 -0500)]
Bug 1984 - added Javascript in the header to open, print, and close the slip window

This is for printing circulation slips.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobug 1907 Partial fix: prevent bad records from truncating output.
Chris Catalfo [Fri, 1 May 2009 23:34:43 +0000 (23:34 +0000)]
bug 1907 Partial fix: prevent bad records from truncating output.

This patch starts improving export.pl by adding warnings, skipping invalid records, and not trying to access fields which don't exist.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobug 3212: MARC21 bib leader plugin sets Leader/09 to 'a'
Galen Charlton [Fri, 8 May 2009 20:10:15 +0000 (15:10 -0500)]
bug 3212: MARC21 bib leader plugin sets Leader/09 to 'a'

Changed the plugin so that the form for editing the MARC21
leader now sets postion 9 (character coding) to 'a' (UCS/Unicode)
and no longer gives the cataloger the option to change it.  Koha
uses UTF-8 exclusively for MARC records, and a number of bugs
can be triggered by storing MARC21 bib and authority record
whose Leader/09 is anything other than 'a'.  Since internal
routines are increasingly ensuring that the MARC21 Leader/09 is
set to 'a', it doesn't make sense to give catalogers the idea
that it's possible (or a good idea) to set the Leader/09 to any
other value.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobug 3211: fix XHTML validation errors in MAR21 bib leader plugin
Galen Charlton [Fri, 8 May 2009 20:10:14 +0000 (15:10 -0500)]
bug 3211: fix XHTML validation errors in MAR21 bib leader plugin

Note that as a result of this patch, not only will the
page use valid XHTML, but the intranet stylesheets are
now used, IMO improving the display of the form.

This patch also fixes the descriptions of the Leader/09
and Leader/17.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years agobug 3209: add 'p' (mixed materials) to MARC21 Leader/06 dropdown
Galen Charlton [Fri, 8 May 2009 20:10:13 +0000 (15:10 -0500)]
bug 3209: add 'p' (mixed materials) to MARC21 Leader/06 dropdown

Also made the following updates to the MARC21 leader plugin

[1] Changed description of Leader/08 to 'Type of control'
[2] Fixed typo in description value for 'z' in Leader/17
[3] Updated Leader/19, which is now 'Multipart resource record level'

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
15 years ago(bug #3198) fix serial receive with autobarcode
Nahuel ANGELINETTI [Mon, 11 May 2009 08:46:58 +0000 (10:46 +0200)]
(bug #3198) fix serial receive with autobarcode

this add an arg to GetMarcFromKohaField, else it will always return (0,0).

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>