summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2019-05-13 10:53:31 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-05-13 11:01:54 +0200
commitae8548370a5e5e6d2e3267f4d1e7713d7c64e9d6 (patch)
tree5c2e95289349ea821e4cd6cabb31945f184053dd /bin
parenttdf#83722: don't recycle frame with unmodified template (diff)
downloadcore-ae8548370a5e5e6d2e3267f4d1e7713d7c64e9d6.tar.gz
core-ae8548370a5e5e6d2e3267f4d1e7713d7c64e9d6.zip
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/72219 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-bugzilla-attachments-by-mimetype4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype
index a704b5461d67..9fb3d1da997b 100755
--- a/bin/get-bugzilla-attachments-by-mimetype
+++ b/bin/get-bugzilla-attachments-by-mimetype
@@ -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)