[Koha-bugs] [Bug 13547] Item field 3 (Materials specified) would be useful to see on OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Jun 21 00:34:32 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13547

Paul A. <paul.a at navalmarinearchive.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul.a at navalmarinearchive.c
                   |                            |om

--- Comment #3 from Paul A. <paul.a at navalmarinearchive.com> ---
Tested sandbox, modded to production 20 June 2015.

This allows the use of 952$3 (we use for e.g. v. hb [1384 p., 85 col. plates])
in the OPAC. It is already in staff.

/usr/share/koha/opac/htdocs/opac-tmpl/prog/en/modules/opac-detail.tt

line 713 insert
[% IF itemdata_materials %]<th id="item_materials">Materials specified</th>[%
END %] 

line 739 insert
[% IF itemdata_materials %]<td>[% ITEM_RESULT.materials %]</td>[% END %]

chown koha:koha, chmod 644


/usr/share/koha/opac/cgi-bin/opac/opac-detail.pl

line 513 add 'materials'
foreach (qw(ccode enumchron materials copynumber itemnotes uri)) {
                            ^^^^^^^^^

line 561 insert
itemdata_materials      => $itemfields{materials},

chown koha:koha, chmod 755

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


More information about the Koha-bugs mailing list