Skip to content

Commit

Permalink
Use organization_name as a filter in keyword search if identified
Browse files Browse the repository at this point in the history
組織名が特定されている状態でのキーワード検索は、その組織内の検索とする修正。
  • Loading branch information
keita-yasuda committed May 17, 2024
1 parent 36ff4ec commit 71c80f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckanext/feedback/templates/utilization/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<br>
{% if not disable_keyword %}
<h4>{{ _('Keyword Search') }}</h4>
{% if c.pkg_dict %}
<input type="hidden" name="organization" value="{{ c.pkg_dict['organization']['name'] }}">
{% endif %}
<div class="input-group search-input-group">
<input id="field-giant-search" type="text" class="form-control input-lg" name="keyword" placeholder="{{ _('Keyword Search...') }}" aria-label="{{ _('Search utilization data') }}" autocomplete="off" value="{{ keyword }}"/>
<span class="input-group-btn">
Expand Down

0 comments on commit 71c80f7

Please sign in to comment.