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) {