summaryrefslogtreecommitdiff
path: root/templates/search.tpl
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2006-02-09 11:00:34 +0000
committerLester Caine <lester@lsces.co.uk>2006-02-09 11:00:34 +0000
commit49ff82fdca41a767d9094f92191b9b860cce2daa (patch)
tree4aaaf726ac5336b4ffe30f74d583ff9d1bd107bb /templates/search.tpl
parentb69c5fb34dec9c4c5f970a481256a00a32e05433 (diff)
downloadsearch-49ff82fdca41a767d9094f92191b9b860cce2daa.tar.gz
search-49ff82fdca41a767d9094f92191b9b860cce2daa.tar.bz2
search-49ff82fdca41a767d9094f92191b9b860cce2daa.zip
Import some updates from R1
Have left the background refresh as it may be useful for indexing large imported sites Not indexing Articles has been omitted - group filter is now available instead Using the content_type_guid and group_id of the liberty_content entry for selection
Diffstat (limited to 'templates/search.tpl')
-rw-r--r--templates/search.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/search.tpl b/templates/search.tpl
index f6f32cc..0d1c62b 100644
--- a/templates/search.tpl
+++ b/templates/search.tpl
@@ -42,7 +42,7 @@
{section name=search loop=$results}
{* using capture for no particular reason appart from a nicer layout - xing *}
{capture name=title}
- {assign var=guid value=$results[search].location}
+ {assign var=guid value=$results[search].content_type_guid}
{tr}{$gLibertySystem->mContentTypes.$guid.content_description}{/tr} <a href="{$results[search].href}&highlight={$words}">{$results[search].title}</a>
<small> &bull;&nbsp;{tr}Hits{/tr}: {$results[search].hits}
{if $gBitSystem->isFeatureActive( 'search_fulltext' )}