From a1fa583294f728798657f8ae74f7a6e843347496 Mon Sep 17 00:00:00 2001 From: Ben Moon Date: Fri, 20 May 2016 11:39:08 +0100 Subject: [PATCH] Update items attribute to be the shuffled items More useful than just returning the items. --- lib/DDG/Goodie/Shuffle.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DDG/Goodie/Shuffle.pm b/lib/DDG/Goodie/Shuffle.pm index 42ac78c7f..4a43895d4 100644 --- a/lib/DDG/Goodie/Shuffle.pm +++ b/lib/DDG/Goodie/Shuffle.pm @@ -73,7 +73,7 @@ handle remainder => sub { title => "$shuffled_display", subtitle => "Shuffle: $original_display", # Useful for API - items => \@items, + items => \@shuffled, }, templates => {