I’ve created a new module via module builder with a Basic template, but I need only one functional from the Person template - It’s concatenated Name field in ListView
I’ve checked how It created in another test module and it looks like :
…/metadata/listview
The last one works only If I added last name and first name in ListView too
So maybe anybody here knows how can I just make simple concatenated fields in ListView(detailView…)
For example, I wanna just the same function as it is in Contacts module. It has two fieldsfirst_name and last_name in editview and MySQL and only has one field Name in ListView(and detailView) without MySQL, it just contacted first_name and last_name
I don’t know what’s wrong. I guess you’ll have to check the field names with a debugger, and see if the query_only is having the desired effect of producing a query for the subpanels that loads all the necessary fields.
If it is, then you can look in the part where customCode is evaluated to see why it doesn’t get the values for displaying.
Sorry for not being more specific, but I don’t really know the answer, and I won’t have a chance to actually run this and test it in the near future…