From ea40ff382f1e23916ad7125f29fa155fb628b86e Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Fri, 9 Jan 2009 11:36:47 +0100 Subject: [PATCH] (bug #1578) change the shelf COinS support this change the old COinS support, and now use C4::Biblio::GetCOinSBiblio(). Signed-off-by: Henri-Damien LAURENT --- C4/VirtualShelves/Page.pm | 2 ++ koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/C4/VirtualShelves/Page.pm b/C4/VirtualShelves/Page.pm index 8e45029e31..d414928473 100644 --- a/C4/VirtualShelves/Page.pm +++ b/C4/VirtualShelves/Page.pm @@ -177,6 +177,8 @@ SWITCH: { #$this_item->{imageurl} = $imgdir."/".$itemtypes->{ $this_item->{itemtype} }->{'imageurl'}; #$this_item->{'description'} = $itemtypes->{ $this_item->{itemtype} }->{'description'}; $this_item->{'dateadded'} = format_date($this_item->{'dateadded'}); + $this_item->{'coins'} = GetCOinSBiblio($this_item->{'biblionumber'}); + warn $this_item->{'coins'}; } push @paramsloop, {display => 'privateshelves'} if $category == 1; $showadd = 1; diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl index cb0950df96..750101a899 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl @@ -129,7 +129,7 @@ $.tablesorter.addParser({ "> "> - &rft.btitle=&rft.date=&rft.tpages=&rft.isbn=&rft.aucorp=&rft.place=&rft.pub=&rft.edition=&rft.series=&rft.genre="> + "> -- 2.39.2