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

Michal Denar <[email protected]> changed:

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

--- Comment #4 from Michal Denar <[email protected]> ---
Created attachment 86503
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=86503&action=edit
Bug 22455: Add Koha::Biblio::hidden_in_opac method

This patch adds a hidden_in_opac method that does the same calculation
done in places like opac-tags.pl. The condition that is checked is that
all items belonging to the biblio are hidden. This is the current
behaviour in the code.

To test:
- Apply this patches
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Biblio.t
=> SUCCESS: Tests pass!

Signed-off-by: Michal Denar <[email protected]>

Signed-off-by: Michal Denar <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to