[koha-commits] main Koha release repository branch 18.05.x updated. v18.05.10-4-ga62ab43
Git repo owner
gitmaster at git.koha-community.org
Tue Mar 5 17:16:39 CET 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 18.05.x has been updated
via a62ab435628eaa00a656e09e90411f883f437545 (commit)
via 3e3339475747ea8e61f475904bb4a99674b1f0e5 (commit)
from 2e8092c678a608fa045aa9a9dce78c64bc8bc4be (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a62ab435628eaa00a656e09e90411f883f437545
Author: Katrin Fischer <katrin.fischer at bsz-bw.de>
Date: Fri Jan 4 11:42:08 2019 +0000
Bug 10676: Add unit tests - GetItemsInfo
To test:
prove t/db_dependent/Items.t
Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault at inLibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
(cherry picked from commit 4e139a237b874df5fcd2169abba75eb3745239f5)
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit 97f41c827fe57b92319871c23e8291bad3f2dd3a)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
commit 3e3339475747ea8e61f475904bb4a99674b1f0e5
Author: Katrin Fischer <katrin.fischer at bsz-bw.de>
Date: Fri Jan 4 10:11:03 2019 +0000
Bug 10676: Fix behaviour of OpacHiddenItems for items.restricted
The numerical restricted value was overwritten in GetItemsInfo
with the description. So OpacHiddenItems would only work for
restricted using the description, not the numerical value
of the authorised value like for other similar status fields.
This changes GetItemsInfo to use a separate variable for
the description, as it's already done for notforloan and
changes the template files where the variable is used
accordingly.
To test
- Before applying patch
- Configure OpacHiddenItems with:
restricted: [1]
- Find a record with more than one item and mark one of the items
as "Restricted Access"
(assume standard sample data - check authorised value if status doesn't exist)
- Verify the item is still shown in OPAC.
- Apply patch
- Verify that the item is now hidden
- Verify that the status still displays nicely in the staff detail page
- Delete OpacHiddenItems
- Verify that the status is showing nicely in the OPAC detail page
Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault at inLibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
(cherry picked from commit 39d2885d1330afe825e1881f5fc8033d459f6006)
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit ceb74447df18d1fc8dc05b6142a10085d3a67420)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Items.pm | 4 ++--
.../prog/en/modules/catalogue/detail.tt | 2 +-
.../bootstrap/en/includes/item-status.inc | 10 +++++-----
t/db_dependent/Items.t | 21 +++++++++++++++++++-
4 files changed, 28 insertions(+), 9 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list