Commit 94de7538 authored by Administrator's avatar Administrator

[FIX] Query with json (instead of hstore format).

parent 0824a3d8
......@@ -791,9 +791,9 @@ def send_csv(request, corpus_id):
cursor.execute("""
SELECT
metadata -> 'publication_year' as year,
metadata -> 'publication_month' as month,
metadata -> 'publication_day' as day,
metadata ->> 'publication_year' as year,
metadata ->> 'publication_month' as month,
metadata ->> 'publication_day' as day,
COUNT(*)
FROM
node_node AS n
......
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