http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10937
--- Comment #4 from Blou <philippe.blo...@inlibro.com> --- Created attachment 22276 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22276&action=edit Sponsor: Vanier college Following David Cook's comments, I made the following modifications: - C4/Koha.pm : include the non-NULL but empty category in the selection - admin/authorised_values.pl : Added the DOCTYPECAT as default. Seemed the cleanest solution. - installer/data/mysql/kohastructure.sql : cleaned the unwelcomed whitespaces. - koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt : fixed typo and added instruction message - koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt : minimized the diff by redoing the code. New testing instructions. SETUP 0) run updatedatabase.pl to add the two columns to itemtypes 1) You need to add a category to group your item types: a) In Intranet/Koha Admin/Authorized values, select DOCTYPECAT in the category dropdown b) Click button "New authorized value for DOCTYPECAT" c) Enter Authorized value: HARDWARE Description : Hardware Description (OPAC): Hardware NORMAL USAGE 2) Group your items under that new category a) In Intranet/Koha Admin/Item types, choose (at least) two item types and for each: - Click action/Edit on the right column - Third row (below Description) is the Search category list box, select Hardware - click Save changes at the bottom 3) Select at least one item to be hidden in the OPAC search a) In Intranet/Koha Admin/Item types (again), choose a different item type: - Click action/Edit - Click the checkbox "Hide in OPAC" below the list of icons. FINAL TESTING 4) Go test your modifications a) Go to OPAC/Adv search. b) Validate that all items modified above (hidden or grouped) do not appear in Item type list c) Validate that new item type Hardware does appear instead. d) Select item Hardware, start Search. e) Validate returned items are the of the two types that were grouped into the Hardware category in step 4. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/