X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=lib%2FMojoFacets%2FData.pm;h=6a55286503abcbc5d56302e34ef31b0efa2a4fbd;hb=683b7dc3dd2a9692c8a37b527691b2870d4a062f;hp=cdbdb835d2896c13712dcfc57f3d3767af76052c;hpb=3f3daca0cd5b9caf19daf34acc529922110d2db0;p=MojoFacets.git diff --git a/lib/MojoFacets/Data.pm b/lib/MojoFacets/Data.pm index cdbdb83..6a55286 100644 --- a/lib/MojoFacets/Data.pm +++ b/lib/MojoFacets/Data.pm @@ -907,7 +907,7 @@ sub items { warn "# sorted_items ", $#$sorted_items + 1, " offset $offset limit $limit order $sort"; my $depends_on; - my $tmp = $code; $tmp =~ s/\$row->{(['"]?)(\w+)\1/$depends_on->{$2}++/gse; + my $tmp = $code; $tmp =~ s/\$row->{(['"]?)([\w\s]+)\1/$depends_on->{$2}++/gse; warn "# depends_on ",dump $depends_on; my $test_added = Storable::dclone $test_changed;