My best guess at this issue is that the number of rows isn't being calculated or set correctly. When the display template is processed, if ($rows) is always treated as TRUE ... so the empty text never gets chosen.

In my instance, I have 3 fields (displayed as two) which have a relationship to a node. Normally, an unordered HTML list is displayed which links to the users related to the node (argument). When no users are related (yet), it should display empty text. When semantic views is used, the empty text is not selected ... as I would expect.

Comments

hixster’s picture

Bump - I ran in to this issue today. I use a PHP custom field to determine the output of some rows.

Some times there are no rows and I would like an empty message to be displayed, any thoughts? I not really sure this is related to semantic views as I've tried unformatted row style and that seems to behave the same

Scyther’s picture

Issue summary: View changes
Status: Active » Closed (outdated)