Commit 97a5b953 authored by Mario Chirinos's avatar Mario Chirinos

data tables

parent fd83f141
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
"language": {"url": "/static/languages/Spanish.json" }, "language": {"url": "/static/languages/Spanish.json" },
"ajax": { "ajax": {
"url":"/catalog/ws/news/", "url":"/catalog/ws/news/",
"data":{"startDate":"{{form.startDate.value}}", "endDate":"{{form.endDate.value}}", "ajaxPublishers":[{% for p in form.publishers.value %}{{p}}{% if not forloop.last %},{% endif %}{% endfor %}], {% if "text" in form %} "text":"{{form.text.value}}{%endif%}"} "data":{"startDate":"{{form.startDate.value}}", "endDate":"{{form.endDate.value}}", "ajaxPublishers":[{% for p in form.publishers.value %}{{p}}{% if not forloop.last %},{% endif %}{% endfor %}], {% if form.text is not None %} "text":"{{form.text.value}}{%endif%}"}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment