Bugzilla – Attachment 115497 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: Descrip of ITEMTYPECAT now shows on itemtypes summary table
Bug-20238-Descrip-of-ITEMTYPECAT-now-shows-on-item.patch (text/plain), 1.75 KB, created by
Amy King
on 2021-01-21 03:21:46 UTC
(
hide
)
Description:
Bug 20238: Descrip of ITEMTYPECAT now shows on itemtypes summary table
Filename:
MIME Type:
Creator:
Amy King
Created:
2021-01-21 03:21:46 UTC
Size:
1.75 KB
patch
obsolete
>From ad2673cc00baee0d87b8cf4ef782b16bc76e9efa Mon Sep 17 00:00:00 2001 >From: Amy King <amyking386@gmail.com> >Date: Thu, 21 Jan 2021 03:09:12 +0000 >Subject: [PATCH] Bug 20238: Descrip of ITEMTYPECAT now shows on itemtypes > summary table > >Test plan: >1. From homepage, go to Koha Administration >2. Go to Authorised Values >3. Scroll to the bottom of the page and click next >4. Find ITEMTYPECAT and click Add >5. Give the new authorised value an Authorised value and Description >6. Save it >7. On the left, got to Item types >8. Click Edit on an item type >9. Under Search Category, select the new authorised value you just >created. It should appear in the dropdown as it's description >10. Click save changes >11. Under search category for the item type you just edited, you should >see your new authorised values' description >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 3 ++- > 1 file changed, 2 insertions(+), 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..7546eeab94 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt >@@ -361,7 +361,8 @@ Item types administration > <table> > <tr> > <th scope="row">Item type</th> >- <td>[% itemtype.itemtype | html %]</td> >+ <td> >+ [% AuthorisedValues.GetByCode('ITEMTYPECAT', itemtype.searchcategory) | html %]</td> > </tr> > <tr><th scope="row">Description</th><td>[% itemtype.translated_description | html %]</td></tr> > [% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %] >-- >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