Needs review
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Core integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2011 at 17:09 UTC
Updated:
21 Jan 2019 at 20:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
drunken monkeyWeird, but seems to be an Entity API problem. At least I couldn't imagine what could go wrong on the Search API end there.
Comment #2
fagoComment #3
ethnovode commentedHello,
Is there a solution for this ? I'd like to display the top categories inside a view using search api solr.
Thanks.
Comment #4
ethnovode commentedComment #5
colle901 commentedI think it can be fixed by changing the call on line 266 in entity/modules/callbacks.inc:
Change to:
The second parameter needs to be FALSE, otherwise paging kicks in (hence the result of 10). The fourth parameter can be set to an empty array since sorting is not necessary for the count.
Comment #6
afranioce commentedcomment #5 resolve this problem
Comment #7
rafalenden commentedHere is the patch.
Comment #8
chris matthews commentedThe 2 year old patch in #7 to callbacks.inc applied cleanly to the latest entity 7.x-1.x-dev and (if still relevant) needs review.