[Koha-bugs] [Bug 34062] Additional contents with library set do not appair in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 20 02:44:49 CEST 2023


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

--- Comment #2 from Hammat wele <hammat.wele at inlibro.com> ---
Created attachment 152477
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152477&action=edit
Bug 34062: Additional contents with library set do not appair in OPAC

When we create an additional content and specify the library, we are not able
to see the additional contents in the OPAC, the OPAC_BRANCH_DEFAULT is used
only once, if we reload the page we can't see the additional contents anymore.

To reproduce

Add « SetENv OPAC_BRANCH_DEFAULT 'CPL' » in the koha-httpd.conf and restart or
reload apache

1- Connect to the staff interface
2- Go to Tools->Pages
3- Click on New entry
4- Fill the following field
    Display location -> OPAC,
    library -> Centerville,
    Publication date -> today date,
    fill the title and the content
5- Save the form
6- get the created page id (select max(idnew) from additional_contents;)
7- Visit http://master/cgi-bin/koha/opac-page.pl?page_id=X (where X is the
created page id) in a private tab
  --> the page is displayed well
8- refresh the page
  --> the page is no more displayed you get the message «This page does not
exist.»
9- Apply the patch
10- Refresh the page
  --> the page is displayed

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


More information about the Koha-bugs mailing list