Commit ec11b37c authored by Mario Chirinos's avatar Mario Chirinos

data tables

parent 55e8f0ee
......@@ -390,7 +390,7 @@ def wsNewsListTable(request):#, publisherShortName="all"):
for n in news:
row = list()
txt = ("?text="+ request.GET['text'] ) if ("text" in request.GET) and (request.GET["text"] is not None) else ""
print(request.GET['text'])
row.append('<a href="'+reverse('news-details', args =(n.id,) )+txt+'">'+ n.title+ '</a>')
row.append('<a href="'+n.url+'" target="blank">'+n.publisher.shortName+'</a>')
row.append(n.date.strftime("%Y-%m-%d"))
......
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