Displaying 1 result from an estimated 1 matches for "asset_pag".
Did you mean:
asset_tag
2006 Apr 24
4
Joined search returns NIL ids
...ters "search" (search term) and "field" (database field
heading) which then renders a partial with the search results on it.
########################################################
if @params[''field''] == ''make_id''
@asset_pages, @assets = paginate :assets,
:conditions => [ "makes.name LIKE ?",
''%'' + @params[''search''] + ''%'' ],
:join => "JOIN makes on assets.make_id =
makes.id"...