Koha-clms/C4
Galen Charlton 2d048e474e bug 3049: display correct due date of renewed loans
The intranet item display provided by moredetail.pl
would display the original due date of the item, and
would thus be incorrect if the item had been renewed
and got a different due date.

The incorrect date was coming from items.onloan,
which AddIssue() sets to the due date.  This patch
fixes the bug in two ways:

[1] AddRenewal() now updates items.onloan with the
    correct due date.
[2] Two templates were updated to display the
    due date from (indirectly) issues.date_due
    instead of items.onloan, thus making it less
    likely that the wrong value will be displayed.

This patch does *not* update items.onloan to reflect
the correct due date.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-05-26 21:15:09 +02:00
..
AuthoritiesMarc added C4/AuthoritesMarc/*.pm missed in previous patch 2008-01-04 19:08:30 -06:00
Barcodes bug 2509: fix file permissions 2008-10-28 22:09:24 +01:00
ClassSortRoutine ignore "/" when sorting Dewey call numbers 2007-10-23 18:24:29 -05:00
External Bug 2400 [15/18]: fixing pod syntax in C4/External/BakerTaylor.pm 2008-10-28 22:09:21 +01:00
Heading bug 2479: allow MARC21 bib 440 to link to authorities 2008-08-06 14:49:55 -05:00
Members Bug 2176 (2/5): adding patron interface to update messaging preferences 2008-06-20 13:04:50 -05:00
OAI bug 2509: fix file permissions 2008-10-28 22:09:24 +01:00
Reports Bug 3066 - Overhaul guided reports 2009-05-26 21:15:07 +02:00
SIP Bug 2968 - SIP ACS_STATUS message (98) misreported config. 2009-03-04 12:47:37 +01:00
Search FRBR: added OPAC search result grouping option 2008-02-11 16:35:17 -06:00
VirtualShelves bug 2772: bad image location 2009-05-26 21:14:59 +02:00
tests Patch from Galen Charlton, removing $Id$ $Log$ and $Revision$ from files 2007-10-18 20:22:01 -05:00
Accounts.pm bug: chargelostitem() didn't unset onloan on the item record. 2008-11-12 14:40:19 +01:00
Acquisition.pm Bug 2400 [1/18]: fixing pod syntax in C4/Acquisitions.pm 2008-10-28 22:09:20 +01:00
Amazon.pm Internationalize Amazon support 2009-05-26 21:15:06 +02:00
Auth.pm fix permissions error 2009-05-26 21:15:00 +02:00
Auth_with_ldap.pm bug fix : 2805 2008-11-19 05:35:26 +01:00
AuthoritiesMarc.pm Searching empty strings broken in Authorities 2009-03-04 12:42:15 +01:00
BackgroundJob.pm C4 - BEGIN blocks and 1; __END__ for modules 2008-01-07 20:02:18 -06:00
Barcodes.pm bug 2509: fix file permissions 2008-10-28 22:09:24 +01:00
Biblio.pm fix to ignore 600$2 'Source of heading' fields for MARC21 subject display 2009-05-26 21:15:04 +02:00
Bookfund.pm Bug 2617: Add strict (and warnings), partial fix. 2009-05-26 21:15:01 +02:00
Bookseller.pm Minor bug fix Documentation update : 3039 2009-05-26 21:15:03 +02:00
Boolean.pm Boolean.pm - BEGIN block VERSION and vars related to export. 2008-01-07 20:02:24 -06:00
Branch.pm Correct perldoc 2009-05-26 21:15:01 +02:00
Breeding.pm IMPORTANT - refactor MARC character set handling 2008-02-03 07:23:56 -06:00
Calendar.pm followup to Calendar overhaul 2008-11-12 15:11:40 +01:00
Category.pm New C4 Modules 2009-05-26 21:14:56 +02:00
Charset.pm Improve C4::Charset::MarcToUTF8Record performance 2008-11-12 17:11:09 +01:00
Circulation.pm bug 3049: display correct due date of renewed loans 2009-05-26 21:15:09 +02:00
ClassSortRoutine.pm call number work part 2 -- added framework for call number filing routines 2007-10-21 22:11:37 -05:00
ClassSource.pm call number work part 3 -- now using new routines to generate call number sort keys 2007-10-21 22:11:40 -05:00
Context.pm bug 2505: more warnings fixes in C4/Context.pm 2009-01-27 12:19:45 +01:00
Dates.pm Revert "more readable version of the init and new sub" 2009-01-28 14:55:47 +01:00
Debug.pm C4::Debug - should resolve conflict w/ CGI upload. Debug no longer uses CGI. 2008-03-16 08:32:20 -05:00
Heading.pm Porting SimpleSearch return changes to all code calling it. 2008-04-17 05:52:45 -05:00
ImportBatch.pm bug 2952 followup 2009-02-17 15:51:54 +01:00
Input.pm Input.pm - perldoc correction 2007-12-27 17:21:07 -06:00
Installer.pm Bug 2775: adding method to clean syspref cache in C4::Context 2008-11-17 17:50:50 +01:00
ItemCirculationAlertPreference.pm New C4 Modules 2009-05-26 21:14:56 +02:00
ItemType.pm New C4 Modules 2009-05-26 21:14:56 +02:00
Items.pm tweak Inventory tool and sub in C4/Items so call number min and max are not required 2009-05-26 21:14:59 +02:00
Koha.pm remove incomplete bib bulk editing code 2009-05-26 21:15:08 +02:00
Labels.pm Kohabug 2500 Fiction Call Number Splitting Enhancement/Bugfix 2009-05-26 21:14:58 +02:00
Languages.pm Fix for 2184 2008-07-14 08:39:14 -05:00
Letters.pm Introduce sth caching to Letters.pm 2009-05-26 21:15:08 +02:00
Log.pm Bug 2400 [3/18]: fixing pod syntax in C4/Log.pm 2008-10-28 22:09:20 +01:00
Maintainance.pm rel_3_0 moved to HEAD (introducing new files) 2007-03-09 15:34:17 +00:00
Matcher.pm Modifications to C4/Matcher for colon and ending punctuation 2009-05-26 21:15:06 +02:00
Members.pm bug 2856 followup: remove unconditional warn 2009-05-26 21:14:54 +02:00
NewsChannels.pm 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. 2009-03-06 10:52:59 +01:00
Output.pm Bugfix pagination_bar to work with only one param/value pair. 2008-07-10 09:11:44 -05:00
Overdues.pm (bug #2957) import Date_to_Days 2009-03-04 12:46:58 +01:00
Print.pm Bug 2900: fix GetPendingIssues. 2009-01-27 12:19:45 +01:00
Record.pm fixed MODS biblio export on a "standard" install 2008-04-01 06:46:08 -05:00
Reports.pm fix for bug 2543: report output by tabulation a bit too literal 2008-11-12 15:11:26 +01:00
Reserves.pm fix error introduced in a previous commit 2009-05-26 21:15:02 +02:00
Review.pm minor cleanup, remove $sth->finish's. No documentation impact. 2008-05-30 10:01:06 -05:00
SMS.pm Bug 2400 [5/18]: fixing pod syntax in C4/SMS.pm 2008-10-28 22:09:20 +01:00
Scheduler.pm Bug 2400 [2/18]: fixing pod syntax in C4/Scheduler.pm 2008-10-28 22:09:20 +01:00
Scrubber.pm Unescape Comment, now that we trust Scrubber to block bad markup. 2008-05-29 06:30:51 -05:00
Search.pm auto truncation was not used 2009-05-26 21:15:09 +02:00
Serials.pm Fix :Fatal Errors occurs when date is not a regular date 2009-03-06 11:59:33 +01:00
Stats.pm Work in progress, working on the til reconciliation report 2008-01-07 20:49:16 -06:00
Suggestions.pm (bug #2863) add the borrowers branchcodes in suggestion list 2009-05-26 21:15:00 +02:00
Tags.pm Bug 2279: TagsModeration effectiveness restored. 2008-07-22 15:45:04 -05:00
UploadedFile.pm C4 - BEGIN blocks and 1; __END__ for modules 2008-01-07 20:02:18 -06:00
Utils.pm Big LDAP changes, module test for Context.pm, still more yet to come. 2007-12-04 17:27:06 -06:00
VirtualShelves.pm bug 2459: fix module depedency error blocking SIP2 2008-08-04 15:26:54 -05:00
XISBN.pm Bug 2410: Can't use string ("0") as an ARRAY ref while "strict refs" in use at detail.pl line 219 2008-08-09 08:01:14 -05:00
XSLT.pm reduce bib fetches during search and OPAC display 2009-05-26 21:14:57 +02:00
Z3950.pm Z3950.pm - BEGIN block VERSION and vars related to export. 2008-01-07 20:02:50 -06:00