Skip to content

Conversation

@Letrab
Copy link
Contributor

@Letrab Letrab commented Aug 14, 2019

Issue #39

src/lib.js Outdated
key: key,
doc_count: val
doc_count: val,
selected: helpers.includes_any_element(key, agg.filters)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO _.includes(key, agg.filters) will be easier and maybe faster

actors: ['e']
}]

var moreItems = [{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That json array should go to './fixtures/movies_some_name.json' and be loaded here like var moreItems = require('./fixtures/movies_some_name.json')

@cigolpl cigolpl merged commit 8039e4d into itemsapi:master Aug 14, 2019
@cigolpl
Copy link
Member

cigolpl commented Aug 14, 2019

Looks good!

@Letrab
Copy link
Contributor Author

Letrab commented Aug 14, 2019

Nice! Thank you very much for your quick responses and integration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants