Timeline for Can the Auto suggest results count be changed in SXA?
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 26, 2018 at 14:34 | comment | added | Dawid Rutkowski | It's a 3rd party plugin which we use. It's not something written by us. But thanks for the information as I was not aware of it. | |
Nov 26, 2018 at 11:45 | comment | added | Mohamed Mosa | I found it out, in file typeahead.js at line 1723 : suggestions.slice(0, that.limit - rendered), it selects the first 5 elements as limit = 5, I don't know its importance so I removed the slice() function. | |
Nov 16, 2018 at 11:02 | comment | added | Dawid Rutkowski | I don't think so. Ensure that you've properly replaced SXA implementation in the DI container. | |
Nov 15, 2018 at 11:29 | comment | added | Mohamed Mosa | Great, I did it and it returns the count I desired, but still only 5 results are rendered, I checked the solr request and it's correct, but in the component-search-box.js, the suggestion: function (data) (which render the suggestion results)are called 5 times only. Is the count 5 is hard-coded somewhere else ? | |
Nov 15, 2018 at 10:24 | comment | added | Dawid Rutkowski |
We are registering it in the Sitecore.XA.Foundation.VersionSpecific.config file - section services. But what you need to do is to replace existing implementation by your own one, you can do it in the C# code (a lot of examples, just google it).
|
|
Nov 15, 2018 at 9:52 | comment | added | Mohamed Mosa | Thanks so much, I implemented my own suggester, but need to know where to reference it from Sitecore configuration. | |
Nov 15, 2018 at 9:05 | vote | accept | Mohamed Mosa | ||
Nov 15, 2018 at 8:55 | history | edited | Dawid Rutkowski | CC BY-SA 4.0 |
added 22 characters in body
|
Nov 15, 2018 at 8:15 | history | answered | Dawid Rutkowski | CC BY-SA 4.0 |