Parent Directory | Revision Log
sweeping changes to include PubSub backend JiftyDBI to make publishing work, re-organize templates into (hopefully) more meaningful hierarchy, and a new Search action to drive it all.
1 | dpavlin | 24 | <%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 | dpavlin | 28 | <& '/fragments/results', coll => $search->result->content('search'), item_fragment => 'short' &> |
18 | dpavlin | 24 | </div> |
ViewVC Help | |
Powered by ViewVC 1.1.26 |