Limited number of items showed by refinementList widget

Hi:

I’m running Instantsearch v2.0.2

This is the code:

search.addWidget(
    instantsearch.widgets.refinementList({
       container: "#search-by-town-checkboxes",
       attributeName: "Town",
    operator: "or",
    limit: 5,
	showMore: true,	
	showMore: { limit: 100, templates: { active: '<span class="font-s margin-top-30">Less</span>', inactive: '<span class="font-s margin-top-30">More</span>' } },
    templates: {
		 item: facetTemplateCheckbox
    }
  })
);

There are 40 different attribute values, but only first 10 are displayed when I choose the ‘show more’ option.

Any clues?

Thanks in advance

Hello @octavio,

Can you share me a jsfiddle with the actual code running and a search query example so I can reproduce and fix the bug if any in instantsearch.js?

Thank you.

Solved. My mistake. Sorry, guys.

After setting up the jsfiddle, I realized what was wrong (2 similar-named attributes)

Like Sherlock Holmes said :wink: “You see, but you do not observe”

Thanks, Maxime.

No problem, I’m glad the issue is fixed for you :slight_smile:

Feel free to ask us anything else!