SQL

You can extend your database query with a SQL andWhere like in the snippet below.

Code

...
$GLOBALS[ 'TCA' ][ $_table ][ 'ctrl' ][ 'immo24' ] = [
  'ctrl' => [
      'sql' => [
          'andWhere' => ' AND category LIKE "Wohnen" AND immoart LIKE "Mietwohnung"',
      ],
...

Details

See details @ mapping.php in the samples Apartment, Contact and Site.