Kaydet (Commit) ae854837 authored tarafından Michael Stahl's avatar Michael Stahl

get-bugzilla-attachments-by-mimetype: fix get_through_rss_query

This URL results in an error message and 0 results because "Changed" in
the UI translates to "delta_ts", not "changed" apparently.

Change-Id: I2bfdd682bb7fca229039970c209e7e409532059c
Reviewed-on: https://gerrit.libreoffice.org/72219Reviewed-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
Tested-by: 's avatarMichael Stahl <Michael.Stahl@cib.de>
üst acd820fd
......@@ -260,8 +260,8 @@ def get_through_rss_query(queryurl, mimetype, prefix, suffix):
if files != []:
print('looking for updated bugs having %s attachment(s)' % mimetype)
query_changed = query.copy()
query_changed['field0-1-0'] = 'changed'
query_changed['type0-1-0'] = 'changedbefore'
query_changed['field0-1-0'] = 'delta_ts'
query_changed['type0-1-0'] = 'greaterthaneq'
query_changed['value0-1-0'] = get_changed_date(files).isoformat()
process(query_changed, False)
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