derhansen / sf_event_mgt

An event management and registration extension for TYPO3 CMS based on ExtBase and Fluid.
GNU General Public License v2.0
59 stars 55 forks source link

category and location filter #392

Closed csguevara closed 7 years ago

csguevara commented 7 years ago

Extension version

Tell me which version of sf_event_mgt you use 1.8.0

Short problem description

Hi, we need a Filter with AND / OR category + location. Category-Filter works fine, and in our template we can filter locations but not category and locations.

Is there a solution in in fluid template or typoscript?

Thank you! Chris

Steps to reproduce

1. 2. 3.

Expected behaviour

Tell me what should happen

Actual behaviour

Tell me what happens instead

Server configuration

TYPO3 version: 7.6.14

PHP version: 7

derhansen commented 7 years ago

In the list view (cached action), you can overwrite the demand object (e.g. {overwriteDemand:{category: category, location: location}}.

In the search view (uncached action), you could use the $overwriteDemand array to filter by one or multiple criteria of your choice.

csguevara commented 7 years ago

Thanks a lot! It works great!

Chris