/[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 40 - (show annotations)
Tue Feb 20 10:54:47 2007 UTC (17 years, 3 months ago) by dpavlin
File size: 369 byte(s)
Small incremental improvements: trasfer search query into results fragment,
so we can display more informative message, max number of entries to show
for each search (and message about it -- it probably will be converted to
some sort of pager), force_arguments to refresh remote feeds page region
with correct search query
1 <%args>
2 $q
3 </%args>
4 <%init>
5 my $search = Jifty->web->new_action(
6 class => 'SearchItem',
7 moniker => 'local-search',
8 arguments => {
9 content_contains => $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, &>
18 </div>

  ViewVC Help
Powered by ViewVC 1.1.26