Calendar Events Search Page and Excluding Events with a metadata field value


(Nic Hubbard) #1

I have a Calendar Events Search Page that I am using to find Upcoming Events using the Events Date Filter Configuration and Fuzzy dates.

 

Next, all of the Calendar Event assets have a Metadata Schema applied with an "Exclude From Search"  select field that has the value of "nosearch". I have then setup an Exclude Field and chosen that Metadata Field to exclude, IF the asset has the "nosearch" value.

 

Screen%20Shot%202015-05-22%20at%2011.51.

 

 

The listing works, but the Events with the Exclude from Search metadata value are NOT being excluded from the listing. I have tried two thing:

 

  • Setup the regular search fields in the Initial Search Page Layout and tried the search that way. Events are still included that should not be.
  • Setup a Stored Search with a value for the date filter, and nosearch for the exclude field:

 

Still the assets that should be excluded are showing up.

 

Does anyone have experience with this and what I might be doing wrong with the Exclude field?

 

Matrix v.5.1.8.0


(Nic Hubbard) #2

Bart, any help on this? 


(Tbaatar) #3

Tested this on Matrix v4.18.9 and it doesn't seem to work for me either.


(Nic Hubbard) #4

Tested this on Matrix v4.18.9 and it doesn't seem to work for me either.

 

Yeah really frustrating. I need this feature on an implementation I am doing.

 

Will just wait for Squiz to respond.


(Bart Banda) #5

We'll see if we can replicate this as a bug and fix it if it is. 

 

Could you as a workaround, use the metadata field as an include rather than an exclude? So use the metadata field value to include assets in the search and all assets that don't, won't get included in the search. 


(Nic Hubbard) #6

Could you as a workaround, use the metadata field as an include rather than an exclude? So use the metadata field value to include assets in the search and all assets that don't, won't get included in the search. 

 

Well, I am not sure that would work. Because if they DON'T have the metadata select value of noseach then we want it to be shown. If they DO, they should not be shown. Not sure how I would do that with an include field.


(Anthony Ponomarenko) #7

Hey Nic,

 

I can replicate the issue with all search pages. I have submitted this as a bug - https://squizmap.squiz.net/matrix/7248 


(Nic Hubbard) #8

Hey Nic,

 

I can replicate the issue with all search pages. I have submitted this as a bug - https://squizmap.squiz.net/matrix/7248 

 

Thanks!


(Peter McLeod) #9

Hi

 

Just wondering if this bug was resolved, I dont have access to the squizmap, and couldn't find it in the release notes.

 

We've just upgraded to v5.3.1.1 and we are having similar issues as above using a fuzzy event filter and regular search field on a calendar search asset.

 

Thanks

Peter


(Nic Hubbard) #10

Hi

 

Just wondering if this bug was resolved, I dont have access to the squizmap, and couldn't find it in the release notes.

 

We've just upgraded to v5.3.1.1 and we are having similar issues as above using a fuzzy event filter and regular search field on a calendar search asset.

 

Thanks

Peter

 

Looks like it isn't fixed. Is still in "Discussing" on Squizmap.


(Peter McLeod) #11

Thanks for checking Nic.


(Bart Banda) #12

It was actually determined not to be a bug but by design, there hasn't been much discussion since on what the feature would actually be to enable such functionality or how it would work. 


(Andrew Bull) #13

I've just come up against this problem, trying to make a list of upcoming events. I've applied metadata, so that each event is in one of three categories.

 

I can simply create an Upcoming Events List to display all upcoming events. While this hides events that occurred in the past, I can't display three separate lists depending on their categories.

 

I need the Asset Grouping function of the Calendar Events Search page to produce three separate lists, each with its own set of upcoming events.

 

However, when I include Upcoming Events as a Set Value in a stored search, the resulting list displays past events as well. How can it be "by design" to display all events, when filtering for only upcoming events?

 

So, to answer the previous question, the feature would be to enable a version of the Upcoming Events List that allows for more flexible output.

 

Without wanting to labour the point, the help file on the Calendar Event Search Page says:

 

 

Tip: You can configuring a default Stored Search on the Details screen of the Calendar Events Search Page. When configuring this option, use the following values for the different filter types:  
- Single Date Filter: [DATE]
- Date Range Filter: [FROM_DATE],[TO_DATE]
- Fuzzy Dropdown Filter: [FUZZY_TYPE]
- Fuzzy Checkbox Filter: [FUZZY_TYPE1],[FUZZY_TYPE2],[FUZZY_TYPE3], ...
 
Please note that all date values should be in YYYY-MM-DD format and fuzzy date values can be found in the Fuzzy Dropdown field information above.

 

 

And the Upcoming Events List help page opens with this (emphasis mine):

 

Upcoming Events List

Last updated: 17 Dec 2015

The Calendar Events Search Page can be used as an alternative to this asset to provide similar functionality with more customisable listing capabilities. For more information, please refer to the Calendar Events Search Page chapter in this manual.

 

 

 

Can this be looked at further, or am I doing something wrong?


(Andrew Bull) #14

Just had a colleague show me the listed bug, so I may be off topic in my instance. Apologies.


(Bart Banda) #15

What does your config look like? for both the stored search value on the details screen and the search fields screen?