Loading data.
PAGE CONTENTS
You can extend your database query with a SQL andWhere like in the snippet below.
... $GLOBALS[ 'TCA' ][ $_table ][ 'ctrl' ][ 'immo24' ] = [ 'ctrl' => [ 'sql' => [ 'andWhere' => ' AND category LIKE "Wohnen" AND immoart LIKE "Mietwohnung"', ], ...
See details @ mapping.php in the samples Apartment, Contact and Site.