mirror of
https://github.com/documize/community.git
synced 2025-07-25 16:19:46 +02:00
Fixed an issue with duplicate search results
Issue crept in during switch to lodash lib.
This commit is contained in:
parent
ca1e281775
commit
b89a297c70
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ export default Component.extend({
|
||||||
let phrase = 'Nothing found';
|
let phrase = 'Nothing found';
|
||||||
|
|
||||||
if (docs.length > 0) {
|
if (docs.length > 0) {
|
||||||
duped = _.uniq(docs, function (item) {
|
duped = _.uniqBy(docs, function(item) {
|
||||||
return item.get('documentId');
|
return item.get('documentId');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue