Bugzilla – Attachment 115633 Details for
Bug 20238
Show description of ITEMTYPECAT instead of code in itemtypes summary table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20238: Display description of ITEMTYPECAT in search category
Bug-20238-Display-description-of-ITEMTYPECAT-in-se.patch (text/plain), 1.71 KB, created by
Amy King
on 2021-01-21 22:48:09 UTC
(
hide
)
Description:
Bug 20238: Display description of ITEMTYPECAT in search category
Filename:
MIME Type:
Creator:
Amy King
Created:
2021-01-21 22:48:09 UTC
Size:
1.71 KB
patch
obsolete
>From 82f3646b53f0cb360deff05bf9b52ed2ebe2f6cc Mon Sep 17 00:00:00 2001 >From: Amy King <amyking386@gmail.com> >Date: Thu, 21 Jan 2021 22:41:09 +0000 >Subject: [PATCH] Bug 20238: Display description of ITEMTYPECAT in search > category > >Test plan: >1. From homepage, go to Koha Administration >2. Go to Authorized values >3. Scroll to the bottom of page, or click next at the top, to go to the >next page >4. Find ITEMTYPECAT and click Add >5. Give the new authorized value an Authorized value and Description >6. Save it >7. On the left, go to Item types >8. Click Edit on an item type >9. Under search category, select the new authorized value you just >created. It should appear in the dropdown as its description >10. Click save changes >11. Under search category for the item type you just edited, you should >see your new Authorized values' description >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >index b2c4ca0bcf..b66b8531c2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >@@ -459,7 +459,7 @@ Item types administration > <td> > [% itemtype.parent_type | html %] > </td> >- <td>[% itemtype.searchcategory | html %]</td> >+ <td>[% AuthorisedValues.GetByCode( 'ITEMTYPECAT', itemtype.searchcategory ) | html %]</td> > <td>[% IF ( itemtype.notforloan ) %]Yes[% ELSE %] [% END %]</td> > <td>[% IF ( itemtype.hideinopac ) %]Yes[% ELSE %] [% END %]</td> > <td> >-- >2.11.0
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 20238
:
84112
|
84158
|
84226
|
115497
|
115633
|
115634
|
115716
|
115913