@@ -, +, @@ -Items.pm: In sub GetItemsLocationInfo changes the sql query to get items all info. -koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt: Added the code to display the Avalibiltiy Status. -Add some of the records into your cart with different cases like a Title with 4 items, 1 checked out, 1 lost,etc. -Click on Cart button and check the details page in new window, weather the status showing exact results. --- C4/Items.pm | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) --- a/C4/Items.pm +++ a/C4/Items.pm @@ -1389,7 +1389,7 @@ sub GetItemsLocationInfo { my @results; my $dbh = C4::Context->dbh; - my $query = "SELECT a.branchname as homebranch, b.branchname as holdingbranch, + my $query = "SELECT items.*,a.branchname as homebranch, b.branchname as holdingbranch, location, itemcallnumber, cn_sort FROM items, branches as a, branches as b WHERE homebranch = a.branchcode AND holdingbranch = b.branchcode --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt @@ -354,6 +354,7 @@ function enableCheckboxActions(){ Author Year Location + Status [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] @@ -390,7 +391,12 @@ function enableCheckboxActions(){ [% END %] [% END %][% ELSE %]This record has no items.[% END %] - + [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %][% END %] + [% END %] [% END %] --