Skip to content

Commit

Permalink
remove legacy search pages
Browse files Browse the repository at this point in the history
  • Loading branch information
rsinghal committed Dec 16, 2020
1 parent 278da37 commit 4b28747
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 269 deletions.
2 changes: 0 additions & 2 deletions giza/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@
url(r'^videos/$', search_views.videos, name="videos"),

url(r'^search/$', search_views.search, name='search'),
url(r'^v1/search/$', search_views.search_legacy, name='search_legacy'),

url(r'^search-results/$', search_views.results, name='results'),
url(r'^v1/search-results/$', search_views.results_legacy, name='results_legacy'),

# auth
# path('accounts/', include('django.contrib.auth.urls')),
Expand Down
166 changes: 0 additions & 166 deletions search/templates/search/results.html

This file was deleted.

100 changes: 0 additions & 100 deletions search/templates/search/search.html

This file was deleted.

2 changes: 1 addition & 1 deletion templates/pages/searchresults.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h3 class="heading-alt m-t-half m-b-1">{{ total }} search result{{ total|plurali

<div class="row">
{% if total > 0 %}
<div class=" columns p-t-1">
<div class="text-center columns p-t-1">
<nav aria-label="Pagination">
<ul class="pagination m-l-neghalf">
<li class="pagination-previous {% if not has_previous%}disabled{% endif %}">{% if has_previous%}<a href="{% url 'results' %}?{% build_search_params search_params current_category current_subfacets '' '' previous_page_number %}" aria-label="Previous page">Previous</a>{% else %}Previous{% endif %}</li>
Expand Down

0 comments on commit 4b28747

Please sign in to comment.