Hi all,
I am setting up a Display to use for displaying Basic Search results for Collection records.
When I use the Display Template below in a "generic bundle" in my Display, I see the expected output in my Basic Search results: 5.
<expression>sizeof(1,3,5,7,11)</expression>
But if I use more than 510 parameters, Basic Search gives me a blank space where the output should be displayed.
I reproduced this with dummy numbers as well as with the output of a <unit>, and 510 seems to be as many as I can count using this function. At 511 I get a blank output every time.
This seems like a very low threshold. Does anyone have any idea what might be causing this, or how I can restructure my template to count higher than this?
In case it's helpful to know, my actual use case for this is the following template:
<expression>sizeof(<unit relativeTo="ca_collections.branch" delimiter=",">^ca_objects.object_id</unit>)</expression>
which I believe should give me a count of the Object records associated with each Collection record displayed as well as with all descendants of that Collection record. But some of our Collections contain more than 510 Objects, and in those instances I am unable to get a count because of this problem.