diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-10-01 11:32:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-10-01 11:32:33 +0000 |
commit | 713c69a80a214b447d64a84e78065b63046a1715 (patch) | |
tree | fbee3619a03b8fdac23a7cde94f0d3d210dfd399 | |
parent | 94751c695014e82014c6e074097aec2a6945f6db (diff) | |
download | rpmdrake-713c69a80a214b447d64a84e78065b63046a1715.tar rpmdrake-713c69a80a214b447d64a84e78065b63046a1715.tar.gz rpmdrake-713c69a80a214b447d64a84e78065b63046a1715.tar.bz2 rpmdrake-713c69a80a214b447d64a84e78065b63046a1715.tar.xz rpmdrake-713c69a80a214b447d64a84e78065b63046a1715.zip |
(do_search) fix searching for summary on startup (#49293)
(was broken since 253201 on 2009/02/23: "slightly reduce memory usage
by not keeping around summaries ")
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | rpmdrake | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -9,6 +9,7 @@ * default to OR like searches for searches among package names (#37643) * enable to disable use of regular expression (default is: disabled) * enable to search in full or short package names (#46473) + * fix searching for summary on startup (#49293) * rerun search after reloading package list (#49834) Version 5.17 - 1 June 2009, Thierry Vignaud @@ -90,7 +90,7 @@ sub do_search($$$$$$$) { } elsif ($current_search_type eq 'summaries') { my $count; foreach (@filtered_pkgs) { - next if $pkgs->{$_}{summary} !~ /$entry_rx/; + next if get_summary($_) !~ /$entry_rx/; push @search_results, $_; # FIXME: should be done for all research types last if $count++ > 2000; |