View | Details | Raw Unified | Return to bug 13813
Collapse All | Expand All

(-)a/C4/VirtualShelves/Page.pm (-3 / +2 lines)
Lines 35-41 use C4::Koha; Link Here
35
use C4::Auth qw/get_session/;
35
use C4::Auth qw/get_session/;
36
use C4::Members;
36
use C4::Members;
37
use C4::Output;
37
use C4::Output;
38
use C4::Dates qw/format_date/;
38
use Koha::DateUtils;
39
use C4::Tags qw(get_tags);
39
use C4::Tags qw(get_tags);
40
use C4::Csv;
40
use C4::Csv;
41
use C4::XSLT;
41
use C4::XSLT;
Lines 272-278 sub shelfpage { Link Here
272
                    # and itemtypes tables, so I'm commenting them out for now to quiet the log -crn
272
                    # and itemtypes tables, so I'm commenting them out for now to quiet the log -crn
273
                    #$this_item->{imageurl} = $imgdir."/".$itemtypes->{ $this_item->{itemtype}  }->{'imageurl'};
273
                    #$this_item->{imageurl} = $imgdir."/".$itemtypes->{ $this_item->{itemtype}  }->{'imageurl'};
274
                    #$this_item->{'description'} = $itemtypes->{ $this_item->{itemtype} }->{'description'};
274
                    #$this_item->{'description'} = $itemtypes->{ $this_item->{itemtype} }->{'description'};
275
                    $this_item->{'dateadded'} = format_date( $this_item->{'dateadded'} );
275
                    $this_item->{'dateadded'} = output_pref({ dt => dt_from_string( $this_item->{'dateadded'} ), dateformat => 'iso', dateonly => 1 });
276
                    $this_item->{'imageurl'}  = getitemtypeinfo( $this_item->{'itemtype'}, $type )->{'imageurl'};
276
                    $this_item->{'imageurl'}  = getitemtypeinfo( $this_item->{'itemtype'}, $type )->{'imageurl'};
277
                    $this_item->{'coins'}     = GetCOinSBiblio( $record );
277
                    $this_item->{'coins'}     = GetCOinSBiblio( $record );
278
                    $this_item->{'subtitle'} = GetRecordValue('subtitle', $record, GetFrameworkCode($this_item->{'biblionumber'}));
278
                    $this_item->{'subtitle'} = GetRecordValue('subtitle', $record, GetFrameworkCode($this_item->{'biblionumber'}));
279
- 

Return to bug 13813