While fixing bug 585028, I applied the patch to all branches, assuming it was fine to use List::MoreUtils in all cases. But checksetup.pl only requires this module in Bugzilla 4.0 and newer, not in 3.6. This means that those who don't have this module installed now get an error everytime Bugzilla::Search::Quicksearch is called, when upgrading from 3.6.2 to 3.6.3. I needed this module to use the 'firstidx' subroutine. For 3.6.x, we have to use something else.
Oh, yeah, use lsearch for 3.6.x.
Created attachment 489646 [details] [diff] [review] patch for 3.6.3, v1
Comment on attachment 489646 [details] [diff] [review] patch for 3.6.3, v1 Looks good to me. :-)
Committing to: bzr+ssh://firstname.lastname@example.org/bugzilla/3.6/ modified Bugzilla/Search/Quicksearch.pm Committed revision 7206.