Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Nick Clemens 170085397b Bug 15505: Mark Hold Items 'On hold' instead of 'Available'
This patch adds a 'pending hold' column to C4::Items:GetItemsInfo to
allow for displaying status of an item when it has been selected for a
hold by the holdsqueue and AllowItemsOnHoldCheckout is set to 'Don't
allow'

To test:
00 - Set AllowItemsOnHoldCheckout to 'Allow'
01 - Place a hold on an item
02 - Build the holdsqueue (kohadevbox example below)
      sudo koha-shell kohadev
      perl misc/cronjobs/holds/build_holds_queue.pl
03 - Search for the item on the OPAC
04 - Note item shows as 'Available' in results and details
05 - Toggle AllowItemsOnHOldCheckout to 'Don't allow'
06 - Repeat search, note there is no change
06 - Apply Patch
07 - Search for the item on the OPAC
08 - Note that item now shows as 'Pending hold'
09 - Toggle AllowItemsOnHoldCheckout to Allow
10 - Note item shows as available
11 - prove -v t/db_dependent/Items.t

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-04-19 14:30:39 +00:00
..
preferences Bug 15505: Mark Hold Items 'On hold' instead of 'Available' 2019-04-19 14:30:39 +00:00
searchengine/elasticsearch Bug 18213: Add language facets to Elasticsearch 2019-03-28 15:57:32 +00:00
additional-fields.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
admin-home.tt
aqbudgetperiods.tt
aqbudgets.tt
aqcontract.tt
aqplan.tt
audio_alerts.tt Bug 22698: Fix incorrect button classes 2019-04-16 13:17:33 +00:00
auth_subfields_structure.tt
auth_tag_structure.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
authorised_values.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
authtypes.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
biblio_framework.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
branch_transfer_limits.tt Bug 18584: Our legacy code contains trailing-spaces 2019-04-12 02:01:39 +00:00
branches.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
categories.tt Bug 18011: Enrollment period date on patron category can be set in the past without any error/warning messages 2019-04-16 13:17:32 +00:00
checkmarc.tt
cities.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
classsources.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
clone-rules.tt
columns_settings.tt
currency.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
didyoumean.tt Bug 14457: (QA follow-up) Fix QA script complaints and amend system preference text 2019-04-16 13:17:33 +00:00
edi_accounts.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
edi_ean_accounts.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
fieldmapping.tt
item_circulation_alerts.tt
items_search_field.tt
items_search_fields.tt Bug 19497: Removed title (tooltip) from Edit button in items_search_fields.tt 2019-04-11 13:52:08 +00:00
itemtypes.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
koha2marclinks.tt
library_groups.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
localization.tt
marc_subfields_structure.tt
marctagstructure.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
matching-rules.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
oai_set_mappings.tt
oai_sets.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
overdrive.tt Bug 21646: Clean up Overdrive template 2019-03-29 11:28:23 +00:00
patron-attr-types.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
preferences.tt Bug 22584: Add YAML support for Codemirror 2019-04-19 14:26:02 +00:00
printers.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
share_content.tt
smart-rules.tt
sms_providers.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
sru_modmapping.tt
sru_modmapping_auth.tt
systempreferences.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
transport-cost-matrix.tt
usage_statistics.tt
z3950servers.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00