diff --git a/src/components/SearchResults.vue b/src/components/SearchResults.vue index 98c52d4091c6ad650270269a35353554faafc998..01917db3f683bfd1c544b213a071723591ff0228 100644 --- a/src/components/SearchResults.vue +++ b/src/components/SearchResults.vue @@ -34,7 +34,7 @@ export default { return this.hits.filter(hit => hit.dictionary == 'nob') }, results_hash: function(){ - return this.hits.reduce((hash, hit) => (hash + hit) % 10000) + return this.hits.reduce((hash, hit) => (hash + hit.article_id) % 10000, 0) } }, methods: {