[koha-commits] main Koha release repository branch 17.05.x updated. v17.05.00-6-g9a9dd32
Git repo owner
gitmaster at git.koha-community.org
Fri Jun 9 14:44:01 CEST 2017
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, 17.05.x has been updated
via 9a9dd3268db3845ac2e76f8f1dbc2e0e11e6b032 (commit)
via 42a73053001dc033ea50bd386496b28021906148 (commit)
from 80775d9494fe383a1463e0b1f2564ce9f2a7b74d (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 9a9dd3268db3845ac2e76f8f1dbc2e0e11e6b032
Author: Marc Véron <veron at veron.ch>
Date: Thu May 25 23:04:14 2017 +0200
Bug 18673: News author does not display on staff client home page
News authors do not display on staff client homepage, independently of
syspref 'NewsAuthorDisplay'. This patch fixes the issue.
To verify:
- Create news with display location 'All'
- Set syspref NewsAuthorDisplay to 'Staff client only' or 'Both OPAC and staff client'
- Go to staff client
- Verify that news author does not appear (but it should)
To test:
- Applly patch
- Verify that news author is displayed as expected
Followed test plan works as intended
Signed-off-by: Alex Buckley <alexbuckley at catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit 151cdcd133d8618a3faf9b47723d66ac3dc71b4e)
Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
commit 42a73053001dc033ea50bd386496b28021906148
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Mar 15 19:02:21 2017 -0300
Bug 18295: C4::Items - Remove get_itemnumbers_of
The code from scripts and subroutines using this subroutine was not very
elegant. Most of the time the code was unnecessarily complex.
This patch removes this subroutine and adapt the code to use
Koha::Items instead.
1. C4::Items::get_hostitemnumbers_of
I did not understand why the code was so complicated, it seems that we
only want to know if a given item has a given biblionumber
2. cataloguing/merge.pl
We want to retrieve the itemnumber for a given biblio.
We could also have done that with:
Koha::Biblios->find( $biblionumber )->items;
3. labels/label-item-search.pl
We want to loop over the items for a given biblio, no need to use
get_itemnumbers_of and GetItemInfosOf.
We just need to use:
Koha::Items->search({ biblionumber => $biblionumber })
4. reserve/request.pl
We want to retrieve the itemnumbers of the biblio's items
We could also have done that with:
Koha::Biblios->find( $biblionumber )->items->get_column('itemnumber');
Test plan:
1.You need to create analytical record relationships (
EasyAnalyticalRecords needs to be set). Link an item to a biblio using
the 'Edit > Link to host item' menu from the biblio detail page.
From the staff interface place a hold on the biblio. You should see the
items from the biblio and the one you just linked
2. Merge two bibliographic records (with items), the resulting record
should contain items from both original records
3. Create a new label batch, edit it.
Add items to this batch ('Add items' button).
Fill the input with a barcode.
You should see all the items of a biblio.
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit f466a856a99f3109985e3867296d9b7467f32e58)
-----------------------------------------------------------------------
Summary of changes:
C4/Items.pm | 51 ++------------------
cataloguing/merge.pl | 13 ++---
.../intranet-tmpl/prog/en/modules/intranet-main.tt | 1 +
labels/label-item-search.pl | 34 ++++++-------
reserve/request.pl | 6 +--
5 files changed, 27 insertions(+), 78 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list