Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Number the search results

Quote Reply
Number the search results
Hello,

How would you number the search resutls?

thanks
Jian Liu
Indiana University Libraries
Quote Reply
Re: [jiliu] Number the search results In reply to
It should be <%hits%>

TheStone.

B.

Last edited by:

TheStone: Apr 26, 2002, 9:09 AM
Quote Reply
Re: [TheStone] Number the search results In reply to
It returned with: Unknown Tag: 'hits'
Jian Liu
Indiana University Libraries
Quote Reply
Re: [jiliu] Number the search results In reply to
Take a look at search_results subroutine within Home.pm, it should be:

....
return ('search_results.html', {
header => $self->_language('HEA_SRC_RESULT'),
results => \@output,
speedbar=> $speedbar,
msg => $self->_language('SRC_RESULT',$hits),
hits => $hits,
});

TheStone.

B.