summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-11-16 00:49:31 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-11-16 00:49:31 +0100
commit87a58194a2880d276ddfb01f15811a14e6e7d5c7 (patch)
treee6847476e65a38a64c0e613069b6f023dc64a29f
parent1f6ff3a1a2b5f646de1b595b189865f7e586f39d (diff)
downloadbugzilla-87a58194a2880d276ddfb01f15811a14e6e7d5c7.tar.gz
bugzilla-87a58194a2880d276ddfb01f15811a14e6e7d5c7.tar.xz
Bug 939289 - Ember.show API isn't returning field or attachment changes properly when last_updated field is provided
https://bugzilla.mozilla.org/show_bug.cgi?id=939298
-rw-r--r--extensions/Ember/lib/WebService.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/Ember/lib/WebService.pm b/extensions/Ember/lib/WebService.pm
index 278b56fd4..94990c881 100644
--- a/extensions/Ember/lib/WebService.pm
+++ b/extensions/Ember/lib/WebService.pm
@@ -28,6 +28,10 @@ use Bugzilla::Extension::Ember::FakeBug;
use Scalar::Util qw(blessed);
use Storable qw(dclone);
+use constant DATE_FIELDS => {
+ show => ['last_updated'],
+};
+
use constant FIELD_TYPE_MAP => {
0 => 'unknown',
1 => 'freetext',