~gaspard-teti/zena/master

« back to all changes in this revision

Viewing changes to db/init/base/skins/default/Node-+search.zafu

  • Committer: Gaspard Bucher
  • Date: 2014-04-18 16:58:54 UTC
  • Revision ID: git-v1:25dbdf29fde0e9d8047f2111072d4fdd528d6fa5
Implemented 'fulltext match' or 'sphinx match' to use fulltext search in node query. Fix #74.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
    <h2 do='t'>search results</h2>
6
6
 
7
 
    <ul id='search_results' do='search_results'>
 
7
    <ul id='search_results' do='nodes where fulltext match #{params[:q]} in site'>
8
8
      <li class='result_entry' do='each'>
9
9
        <p class='result_image' do='Document?'>
10
10
          <r:link format='data' do='img' alt_src='icon' mode='pv'/>