Complete prefixing template tags with app names
Additionally remove unused template tags. Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{% load search_tags %}
|
||||
{% load smart_settings_tags %}
|
||||
|
||||
{% get_search_models as search_models %}
|
||||
{% search_get_search_models as search_models %}
|
||||
{% smart_setting global_name="SEARCH_DISABLE_SIMPLE_SEARCH" as setting_disable_simple_search %}
|
||||
|
||||
{% if setting_disable_simple_search %}
|
||||
|
||||
@@ -8,5 +8,5 @@ register = Library()
|
||||
|
||||
|
||||
@register.simple_tag
|
||||
def get_search_models():
|
||||
def search_get_search_models():
|
||||
return SearchModel.all()
|
||||
|
||||
Reference in New Issue
Block a user