diff options
author | mkanat%bugzilla.org <> | 2008-03-27 11:08:07 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-03-27 11:08:07 +0100 |
commit | 76db56635e4277804982f04b3828a8cd88093963 (patch) | |
tree | d121c6e949e0d3e8381b3f97ea1f1ff37c647b87 /query.cgi | |
parent | 9345e477eccc933af13d7181cdf1a83c6a3deaa3 (diff) | |
download | bugzilla-76db56635e4277804982f04b3828a8cd88093963.tar.gz bugzilla-76db56635e4277804982f04b3828a8cd88093963.tar.xz |
Bug 372795: Implement Bugzilla::Product::preload() to speed up query.cgi when there are many products
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
Diffstat (limited to 'query.cgi')
-rwxr-xr-x | query.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -189,6 +189,7 @@ if (!scalar(@{$default{'chfieldto'}}) || $default{'chfieldto'}->[0] eq "") { # don't have access to. Remove them from the list. my @selectable_products = sort {lc($a->name) cmp lc($b->name)} @{$user->get_selectable_products}; +Bugzilla::Product::preload(\@selectable_products); # Create the component, version and milestone lists. my %components; |