Attached a patch that adds a unique facet for the "Location" field for Events. This field determines whether the event is "Online", "Online and Physical Address", or just "Physical Address".

The facet combines the Online and Physical address facet into both the Online and Physical Address facets, essentially eliminating the option, but combining its counts to the other two facets. IE: If there are 3 events total, 1 of each respective option, then the Location facet will only show "Online (2)" and "In person (2)", since Online has 1 that is "online", and 1 that is "online and physical", and similarly for Physical.

Since this facet is currently only available with the Commons Events Solr feature, the code for the facet is inside Commons Events Solr.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

japerry’s picture

Version: » 7.x-3.x-dev
Issue summary: View changes
Status: Needs review » Closed (fixed)

This is already fixed. Unfortunately the commit history doesn't show it. (its probably back somewhere with commons_events)

But tested and what the issue covers is exactly what the patch does.