Chancer
03/26/2024, 8:20 AMcsharp
query.And().Field("umbracoNaviHide", 0.ToString());
to filter the various examine based lists we have before returning the results to the view.
Ofcourse this means the examine index (In this case the external one) needs rebuilding with this new property everywhere.
Is there anyway to force all child projects of a baseline to perform a republish/rebuild of that index on push?Lewis Heaton
03/26/2024, 8:31 AMChancer
03/26/2024, 8:32 AMLewis Heaton
03/26/2024, 8:33 AMSebastiaan
03/26/2024, 9:14 AMif(umbracoNaviHide) != false
so that you only check if it is true, if it's not available it will be false
and if it is set to false
it will be false. Not ideal, but it will wokr.Chancer
03/26/2024, 10:26 AMSebastiaan
03/26/2024, 11:32 AMquery.Not().Field("umbracoNaviHide", 1.ToString());
might work?Chancer
03/26/2024, 12:06 PMChancer
03/26/2024, 12:11 PMSebastiaan
03/26/2024, 12:12 PM