/[Grep]/share/web/templates/fragments/local_results
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /share/web/templates/fragments/local_results

Parent Directory Parent Directory | Revision Log Revision Log


Revision 47 - (show annotations)
Wed Feb 21 03:04:48 2007 UTC (17 years, 2 months ago) by dpavlin
File size: 360 byte(s)
use real full-text search engine (Lucene in this case) for Search action,
added Grep::Search helper object
1 <%args>
2 $q
3 </%args>
4 <%init>
5 my $search = Jifty->web->new_action(
6 class => 'Search',
7 moniker => 'local-search',
8 arguments => {
9 q => $q,
10 },
11 sticky_on_success => 1,
12 );
13
14 $search->run or die "can't run?";
15 </%init>
16 <div class="right">
17 <& '/fragments/results', coll => $search->result->content('search'), item_fragment => 'short', q => $q, max => 50 &>
18 </div>

  ViewVC Help
Powered by ViewVC 1.1.26