Skip to content

Commit

Permalink
Item10898: Tighten up the order="formfield(...)" regex
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x01@11997 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
PaulHarvey authored and PaulHarvey committed Jun 18, 2011
1 parent eaf5ec2 commit b399811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Search/InfoCache.pm
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ sub sortResults {
elsif (
$sortOrder =~ /^creat/ || # topic creation time
$sortOrder eq 'editby' || # author
$sortOrder =~ s/^formfield\((.*)\)$/$1/ # form field
$sortOrder =~ s/^formfield\(([^\)]+)\)$/$1/ # form field
)
{
}
Expand Down

0 comments on commit b399811

Please sign in to comment.