From 0df693af9f00ab956af992309248cf6c62597c03 Mon Sep 17 00:00:00 2001 From: Eliseu Egewarth Date: Tue, 1 Aug 2017 17:23:13 -0300 Subject: [PATCH] Fix #1324 (#1326) Fix #1289 Signed-off-by: Eliseu Egewarth --- sapl/static/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapl/static/js/app.js b/sapl/static/js/app.js index 24728945c..1afa1eec5 100644 --- a/sapl/static/js/app.js +++ b/sapl/static/js/app.js @@ -90,8 +90,8 @@ function autorModal() { $("#pesquisar").click(function() { var name_in_query = $("#q").val() - var q_0 = "q_0=parlamentar_set__ativo,parlamentar_set__nome_parlamentar__icontains" - var q_1 = "q_1=True," + name_in_query + var q_0 = "q_0=nome__icontains" + var q_1 = "q_1=" + name_in_query query = q_0 + "&" + q_1 $.get("/api/autor?" + query, function(data, status) {