however, in that tutorial, the results of the find displays all my
items, before i even search for anything with searchlogic.
I want it so that only after a search is made, will i then want the
results to get listed. Right now its listing all the results, even
though I didn't search
(I know that's whats supposed to happen, but I want to hide the find
results until i search)
> however, in that tutorial, the results of the find displays all my
> items, before i even search for anything with searchlogic.
> I want it so that only after a search is made, will i then want the
> results to get listed. Right now its listing all the results, even
> though I didn't search
> (I know that's whats supposed to happen, but I want to hide the find
> results until i search)
> does anyone know how? Thanks
Conrad wrote:
Where's the exact code?
here- this is the view
<% if @users_count > 0 %>
<%= @users_count %> users found
> > however, in that tutorial, the results of the find displays all my
> > items, before i even search for anything with searchlogic.
> > I want it so that only after a search is made, will i then want the
> > results to get listed. Right now its listing all the results, even
> > though I didn't search
> > (I know that's whats supposed to happen, but I want to hide the find
> > results until i search)
> > does anyone know how? Thanks
Conrad wrote:
> Where's the exact code?
here- this is the view
<% if @users_count > 0 %>
<%= @users_count %> users found