diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-05-31 17:39:35 +0200 |
---|---|---|
committer | Francisco Javier López <fjlopez@gitlab.com> | 2018-05-31 21:09:13 +0200 |
commit | be16547557911dd874c5c9a83bfd40757018ba45 (patch) | |
tree | 5edd7227e0908757f035a1c554357304b19ead7f | |
parent | 6eab734c47cfb56eb26b25bd087d192bc37337f7 (diff) | |
download | gitlab-ce-be16547557911dd874c5c9a83bfd40757018ba45.tar.gz |
Aligning CE and EE versions
-rw-r--r-- | app/helpers/search_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb index 4c5586c7600..70eba60e88d 100644 --- a/app/helpers/search_helper.rb +++ b/app/helpers/search_helper.rb @@ -25,7 +25,7 @@ module SearchHelper return unless collection.count > 0 from = collection.offset_value + 1 - to = collection.offset_value + collection.length + to = collection.offset_value + collection.count count = collection.total_count "Showing #{from} - #{to} of #{count} #{scope.humanize(capitalize: false)} for \"#{term}\"" |