Bugzilla – Attachment 136337 Details for
Bug 30925
Creating public list by adding items to new list creates a private list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30925: Fix category parameter for addbybiblionumber
Bug-30925-Fix-category-parameter-for-addbybiblionu.patch (text/plain), 2.91 KB, created by
Marcel de Rooy
on 2022-06-20 07:07:45 UTC
(
hide
)
Description:
Bug 30925: Fix category parameter for addbybiblionumber
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-06-20 07:07:45 UTC
Size:
2.91 KB
patch
obsolete
>From f5379bc31fa0ed3a1d00ba75889dcb38b0b33d06 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 20 Jun 2022 07:03:17 +0000 >Subject: [PATCH] Bug 30925: Fix category parameter for addbybiblionumber >Content-Type: text/plain; charset=utf-8 > >In bug 28959 category was replaced in favor of public. But >unfortunately a few places were missed. >This fixes the addbybiblionumber templates. > >Test plan: >Add a biblio to a list from the search results using the Add to >or Add to list button on OPAC/intranet. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../prog/en/modules/virtualshelves/addbybiblionumber.tt | 6 +++--- > .../bootstrap/en/modules/opac-addbybiblionumber.tt | 6 +++--- > 2 files changed, 6 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >index 252357f6a4..785a0d43ba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt >@@ -95,9 +95,9 @@ > </li> > <li> > <label for="category">Category:</label> >- <select name="category" id="category"> >- <option value="1">Private</option> >- <option value="2">Public</option> >+ <select name="public" id="public"> >+ <option value="0">Private</option> >+ <option value="1">Public</option> > </select> > </li></ol> > </fieldset> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt >index c79ee3d2a4..8b8cb42576 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-addbybiblionumber.tt >@@ -79,10 +79,10 @@ > <label for="newvirtualshelf">List name:</label> > <input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" /> > <label for="category">Category:</label> >- <select name="category" id="category"> >- <option value="1">Private</option> >+ <select name="public" id="public"> >+ <option value="0">Private</option> > [% IF (OpacAllowPublicListCreation) %] >- <option value="2">Public</option> >+ <option value="1">Public</option> > [% END %] > </select> > </fieldset> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30925
:
136337
|
136373