Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Josef Moravec 1ac5044300 Bug 14919: (followup) Show accurate status in holds history
This patch fixes the status showed in holds history table.

The determination of status is following:

1. "hold.found is 'F'" - Fullfilled - the hold was fullfilled by checking the
item to patron. If hold reaches this state, it can't changed status
anymore, or be cancelled, that's why this goes first

2. "hold.cancellationdate is filled" - When the hold is cancelled, its
eventually waiting or in transit status remains the same, only
cancellation dat is filled, so this has to go second

3. "hold.found is 'W'" - Hold is waiting

4. "hold.found is 'T'" - Hold is in transit to target library

Test plan:
0) Apply the patch
2) Read the status determination note in this commit message and confirm
it makes sense
1) Have patron/patrons with at least one hold in every status
2) Go to holds history page and confirm it show the right status
3) Try to break the status determination ;)

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-10-27 16:05:02 -03:00
..
acqui Bug 19083: Fix 'show all details' link on closed basket detail 2017-10-13 13:57:56 -03:00
admin Bug 14919: (follow-up) Fixing some typos and adding to pref description 2017-10-27 16:05:02 -03:00
authorities Bug 18422 - Add Select2 to authority editor 2017-09-29 16:49:48 -03:00
basket Bug 19356: Move staff client cart JavaScript to the footer 2017-10-20 16:54:29 -03:00
batch
catalogue Bug 19389: Hide library groups pull down if empty 2017-10-27 14:09:01 -03:00
cataloguing Bug 18735: QA Followup - add class to new option 2017-10-25 12:14:39 -03:00
circ Bug 19438: Fix sorting by date due in overdues.pl 2017-10-13 13:58:04 -03:00
clubs Bug 19215: Fixing typo in URL for patron clubs 2017-09-06 12:55:23 -03:00
common
course_reserves Bug 19228: Trigger confirm delete when removing item from course 2017-09-07 13:56:38 -03:00
errors
help Bug 19255: QA Followup - Fix tabs for spaces 2017-10-09 16:15:50 -03:00
installer Bug 18629: (followup) Plain text "Continue..." instead of BLOCK 2017-08-30 16:43:34 -03:00
labels
members Bug 14919: (followup) Show accurate status in holds history 2017-10-27 16:05:02 -03:00
offline_circ
onboarding Bug 18649: Translatability: Get rid of tt directive in translation for admin/categories.tt and onboardingstep2.tt 2017-08-30 16:43:35 -03:00
patron_lists Bug 18871: Make patron list name a link to view contents of list 2017-08-30 16:51:21 -03:00
patroncards Bug 18528: Patron card creator template: switch form fields for card height and card width 2017-10-09 16:15:52 -03:00
plugins Bug 19173: Add opac payment and marc conversion plugins to the pulldown filter list 2017-09-19 14:15:52 -03:00
reports
reserve Bug 14353 - Show 'damaged' and other status on the 'place holds' page in staff 2017-09-01 13:00:05 -03:00
reviews
rotating_collections
serials Bug 19086: Fix Stored XSS in subscription-detail.pl 2017-09-29 12:20:45 -03:00
services
suggestion Bug 18399: (follow-up) Escape reason input 2017-10-11 13:05:42 -03:00
tags
test
tools Bug 19414: Move the location of the 'Import this batch into the catalog' button 2017-10-11 13:05:36 -03:00
virtualshelves Bug 17214: (QA follow-up) Print error message too in fallback case 2017-10-27 14:10:26 -03:00
about.tt Bug 19397: Release team for 17.11 2017-10-09 16:15:51 -03:00
auth.tt
intranet-main.tt