[Koha-bugs] [Bug 17530] Don't show 'article request' link when no article requests are permitted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 2 13:56:29 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17530

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #75751|0                           |1
        is obsolete|                            |

--- Comment #37 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 76622
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76622&action=edit
Bug 17530: (QA follow-up) Move may_article_request to ItemType

As requested by QA, we should move may_article_request out of Biblio.

For reasons of performance removed the wrapper layer of may_article_request
in opac-search. No need to look up all item types. For readability kept
the routine in the detail scripts.

Note for running ArticleRequests.t: A possible failure on the subtest
'search_limited' is addressed on bug 20866. So you can ignore that one.
As long as the subtest for may_article_request passes.

Test plan:
See previous patches.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list