-
-
Notifications
You must be signed in to change notification settings - Fork 213
Listing module (Auflistung) corrections and enhancements #6344
base: 3.5
Are you sure you want to change the base?
Conversation
I have fixed the bugs you mentioned in 590cde7. Not sure about the features though, especially your implementation of virtual fields. |
BTW, here's a regex that allows for // line 113
$arrSearchFields = preg_split('/,(?=(?:[^\(\)]*\([^\(\)]*\))*[^\(\)]*$)/', $this->list_search);
// line 252
$arrFields = preg_split('/,(?=(?:[^\(\)]*\([^\(\)]*\))*[^\(\)]*$)/', $this->list_fields); This might be a first step towards virtual fields. |
I'm sorry I was too busy with other projects so that this answer is rather late... I have checked my changes again and admit they could be explained a bit more. With virtual column I just meant the result column produced by an expression - I should use another term like "expression column", as "virtual columns" are table features in Oracle, SQL Server and even MariaDB. An expression may be something like
Currently, I test my version merged with 3.2.9/3.3.RC2, improving some parts. After that and 3.3 release), have to find out how to update the pull-request. Additionally, an extended version is in the works, which in addition supports a fully-blown SQL query. Not for the core, I guess. |
mod_listing.php (#6337)
e.g.
concat(lastname,', ',firstname) as "Name"
.Fix wrong headings in such case.
Name
, e.g.)numeric
to numeric list cell (allowing right-alignment)templates
dca/tl_module.php