Skip to content

Commit

Permalink
Fixes #10126
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Feb 12, 2016
1 parent e092206 commit 8338f9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qgis-app/plugins/search_indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class PluginIndex(indexes.SearchIndex, indexes.Indexable):
text = indexes.NgramField(document=True, use_template=True)
text = indexes.CharField(document=True, use_template=True)
created_by = indexes.CharField(model_attr='created_by')
created_on = indexes.DateTimeField(model_attr='created_on')
# We add this for autocomplete.
Expand Down
2 changes: 1 addition & 1 deletion qgis-app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<a href="{% url "fe_login" %}"><i class="icon-signin icon-3x"></i></a>
{% endif %}

<form class="navbar-search" action="/search/" method="get">
<form class="navbar-search" action="{% url "haystack_search" %}" method="get">
<input type="text" id="id_q" name="q" class="search-query" placeholder="Search" />
</form>

Expand Down
2 changes: 1 addition & 1 deletion qgis-app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#(r'^bookmarks/', include('cab.urls.bookmarks')),
#(r'^languages/', include('cab.urls.languages')),
#(r'^popular/', include('cab.urls.popular')),
url(r'^search/', include('haystack.urls')),
url(r'^search/', include('custom_haystack_urls')),
url(r'^search/', include('haystack.urls')),

# SAM: qgis-users app
url(r'^community-map/', include('users.urls')),
Expand Down

0 comments on commit 8338f9c

Please sign in to comment.