mirror of
https://github.com/webmin/webmin.git
synced 2026-06-01 18:50:26 +01:00
Include longdesc in search
This commit is contained in:
@@ -44,6 +44,14 @@ foreach my $m (@mods) {
|
||||
'link' => $m->{'dir'}.'/',
|
||||
'text' => $m->{'desc'} });
|
||||
}
|
||||
elsif ($m->{'longdesc'} =~ /\Q$re\E/i) {
|
||||
# Module long description match
|
||||
push(@rv, { 'mod' => $m,
|
||||
'rank' => 9.5,
|
||||
'type' => 'mod',
|
||||
'link' => $m->{'dir'}.'/',
|
||||
'text' => $m->{'longdesc'} });
|
||||
}
|
||||
elsif ($m->{'dir'} =~ /\Q$re\E/i) {
|
||||
# Module directory match
|
||||
push(@rv, { 'mod' => $m,
|
||||
|
||||
Reference in New Issue
Block a user