diff --git a/sapl/protocoloadm/views.py b/sapl/protocoloadm/views.py index 234f5c13c..03d1d3d6d 100644 --- a/sapl/protocoloadm/views.py +++ b/sapl/protocoloadm/views.py @@ -87,9 +87,18 @@ class DocumentoAdministrativoCrud(Crud): class BaseMixin(Crud.BaseMixin): list_field_names = ['tipo', 'numero', 'ano', 'data', - 'numero_protocolo', 'ano_protocolo', 'assunto', + 'numero_protocolo', 'assunto', 'interessado', 'tramitacao', 'texto_integral'] + @property + def search_url(self): + namespace = self.model._meta.app_config.name + return reverse('%s:%s' % (namespace, 'pesq_doc_adm')) + + @property + def list_url(self): + return '' + class ListView(DocumentoAdministrativoMixin, Crud.ListView): pass diff --git a/sapl/templates/protocoloadm/documentoadministrativo_detail.html b/sapl/templates/protocoloadm/documentoadministrativo_detail.html deleted file mode 100644 index 4e38ce963..000000000 --- a/sapl/templates/protocoloadm/documentoadministrativo_detail.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "crud/detail.html" %} -{% load i18n %} -{% block actions %} -{% load common_tags %} - -