@ Pat, yea I can image how busy you are with other TS support emails,
no worries take your time. I also have another problem, so I have set
up a basic search in my localhost:3000/jobs and now I have created a
localhost:3000/jobs/advanced_search and I am having problems rendering
it to perform the searches.
@ Srdjan, it is not much but here is my view for the advanced search:
<fieldset>
<legend>Advanced Search</legend>
<p>
<%= check_box("post", "validated") %>Job Number
<%= text_field_tag :job_number %>
</p>
<p>
<%= check_box("post", "validated") %>Company Name
<%= text_field_tag :client_name %>
</p>
<p>
<%= check_box("post", "validated") %>Client Number
<%= text_field_tag :client_job_number %>
</p>
<p>
<%= check_box("post", "validated") %>Analyst
<%= text_field_tag :analyst %>
</p>
<p>
<%= check_box("post", "validated") %>Date Range
<%= text_field_tag :from %> - <%= text_field_tag :to
%>
</p>
<div class="buttons">
<%= params[:search] = text_field_tag :search %>
<%= link_to 'Search', :action => 'index', :search => params[:search]
%>
</div>
<div class="buttons">
<%= link_to 'Back', jobs_path %>
</div>
</fieldset>
I just want to mention some background information. I have already set
up a general search that works perfectly. I have created a new link
"advanced_search" where I want to implement more complex searches such
as the date range search.
Thanks,
Ian
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.