Two field with sorting link in the same column

Display two fields with sorting links in the same column.

Overview

The issue arises when needing to combine multiple data fields, like title and alias, into a single sortable column in a list.
Create a virtual column by specifying a non-existing field name and define its header and content views to include the desired fields and sorting links.

Answered
Connectivity v6
we webcrea 31 May, 2017
Hi,

All is in the title...

For example : Title and alias in the same column in the articles list...

Thanks
Max_admin Max_admin 31 May, 2017
Hi Chris,

The sorting link itself is just a view, you can call two views in the header of a virtual column (give it a name of a non existing field)

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
we webcrea 01 Jun, 2017
Answer
1 Likes
Hi Max,

Pour mémoire

in columns list
fonds.virtuel:{view:sorter_name}<br />{view:sorter_societe}

in Columns views,
fonds.virtuel:<b>{view:fonds_view_link}</b><br />{var:table_fonds.row.fonds.societeGestion}
...
thanks
This topic is locked and no more replies can be posted.