Browse Source

Fix #1324 (#1326)

Fix #1289

Signed-off-by: Eliseu Egewarth <eliseuegewarth@gmail.com>
pull/1333/head
Eliseu Egewarth 8 years ago
committed by Edward
parent
commit
0df693af9f
  1. 4
      sapl/static/js/app.js

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

Loading…
Cancel
Save