diff --git a/themes/blueprint/templates/RecordDriver/SolrDefault/collection-info.phtml b/themes/blueprint/templates/RecordDriver/SolrDefault/collection-info.phtml index 1b13d22f04a7cc564bae51cd0e460611348a2510..aed7f5f4a545b94ec9ea9396231404facc917378 100644 --- a/themes/blueprint/templates/RecordDriver/SolrDefault/collection-info.phtml +++ b/themes/blueprint/templates/RecordDriver/SolrDefault/collection-info.phtml @@ -12,6 +12,12 @@ <? $summ = $this->driver->getSummary(); if (!empty($summ)): ?> <p><?=$this->escapeHtml($summ[0])?></p> <? endif; ?> + +<? /* Display the lists that this record is saved to */ ?> +<div class="savedLists info hide" id="savedLists" style="max-width:30%"> + <strong><?=$this->transEsc("Saved in")?>:</strong> +</div> + <a id="moreInfoToggle" href="#" style="display:none"><?=$this->transEsc('more_info_toggle')?></a> <div id="collectionInfo" class="collectionInfo"> <table cellpadding="2" cellspacing="0" border="0" class="citation" summary="{translate text='Bibliographic Details'}"> diff --git a/themes/blueprint/templates/RecordTab/collectionlist.phtml b/themes/blueprint/templates/RecordTab/collectionlist.phtml index 3be109b57bc3ca4ad8929bca77c4db0a27984b38..e7ca52d1ba66aa8897ac64f99da38492f4625ffc 100644 --- a/themes/blueprint/templates/RecordTab/collectionlist.phtml +++ b/themes/blueprint/templates/RecordTab/collectionlist.phtml @@ -5,7 +5,7 @@ // Get search results $results = $this->tab->getResults(); $params = $this->tab->getParams(); - $searchDetails = array('results' => $results, 'params' => $params); + $searchDetails = array('results' => $results, 'params' => $params, 'indexStart' => 1); ?> <? if (($recordTotal = $results->getResultTotal()) > 0): // only display these at very top if we have results ?> <? foreach ($results->getRecommendations('top') as $current): ?> diff --git a/themes/blueprint/templates/search/list-list.phtml b/themes/blueprint/templates/search/list-list.phtml index 149f987e296bac286fc97bcaaf0e5f3ac7b78832..7886e5fd32b40a8b7ce7c087cad4d71782b8b4bf 100644 --- a/themes/blueprint/templates/search/list-list.phtml +++ b/themes/blueprint/templates/search/list-list.phtml @@ -1,6 +1,7 @@ <ul class="recordSet"> - <? $i = 0; foreach ($this->results->getResults() as $current): - $recordNumber = $this->results->getStartRecord()+$i; ?> + <? if (!isset($this->indexStart)) $this->indexStart = 0; ?> + <? $i = $this->indexStart; foreach ($this->results->getResults() as $current): + $recordNumber = $this->results->getStartRecord()+$i-$this->indexStart; ?> <li id="result<?=$i ?>" class="result<?=(++$i % 2 == 0) ? ' alt' : ''?>"> <span class="recordNumber"><?=$recordNumber?><? if ($this->cart()->isActive()): ?><?=$this->record($current)->getCheckbox()?><? endif; ?></span> <?=$this->record($current)->getSearchResult('list')?>