Skip to content

Commit

Permalink
TW-235 code the filter methods for both collecting events and georefe…
Browse files Browse the repository at this point in the history
…rences, part: tag_autocompletion in tag_collecting_events not working.
  • Loading branch information
TuckerJD committed Apr 23, 2015
1 parent 2c22ff9 commit 9cd13dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/tasks/gis/match_georeference_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def recent_collecting_events

def tagged_collecting_events
@motion = 'tagged_collecting_events'
# step_1 = Tag.find_for_autocomplete(term: params['what_keyword'])
# step_1 = ControlledVocabularyTerm.where('name like %?%', params['what_keyword'])
@collecting_events = CollectingEvent.where(project_id: $project_id).order(updated_at: :desc).limit(10)
render_ce_select_json
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<label for="what_keyword">Keyword</label>
<input id="what_keyword" name="what_keyword">
</div>
<%#= tags_search_form %>
</td>
</tr>
</table>
Expand Down

0 comments on commit 9cd13dc

Please sign in to comment.