summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/components
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-06-25 03:01:18 +0200
committerlpsolit%gmail.com <>2009-06-25 03:01:18 +0200
commitcb0d7389a091eb807d8a54e91d9487470ac362b3 (patch)
tree465355d373e81882050c86cf49cfe00985a12534 /template/en/default/admin/components
parent0ccecfb569714e133ffedbc0eb9a7a88c5abba19 (diff)
downloadbugzilla-cb0d7389a091eb807d8a54e91d9487470ac362b3.tar.gz
bugzilla-cb0d7389a091eb807d8a54e91d9487470ac362b3.tar.xz
Bug 304267: Large lists in admin pages fail to display (they take too much time) - Patch by Michael Thomas <mockodin@gmail.com> r/a=LpSolit
Diffstat (limited to 'template/en/default/admin/components')
-rw-r--r--template/en/default/admin/components/list.html.tmpl16
1 files changed, 6 insertions, 10 deletions
diff --git a/template/en/default/admin/components/list.html.tmpl b/template/en/default/admin/components/list.html.tmpl
index 990b07997..d4bf11748 100644
--- a/template/en/default/admin/components/list.html.tmpl
+++ b/template/en/default/admin/components/list.html.tmpl
@@ -86,23 +86,19 @@
}) %]
[%# Overrides the initialowner and the initialqacontact with right values %]
-[% overrides.initialowner = [] %]
-[% overrides.initialqacontact = [] %]
+[% overrides.initialowner = {} %]
+[% overrides.initialqacontact = {} %]
[% FOREACH component = product.components %]
- [% overrides.initialowner.push({
- match_value => component.name
- match_field => 'name'
+ [% overrides.initialowner.name.${component.name} = {
override_content => 1
content => component.default_assignee.login
- })
+ }
%]
- [% overrides.initialqacontact.push({
- match_value => component.name
- match_field => 'name'
+ [% overrides.initialqacontact.name.${component.name} = {
override_content => 1
content => component.default_qa_contact.login
- })
+ }
%]
[% END %]