Bixal / bixal-site-drupal

Bixal drupal site
0 stars 0 forks source link

BSD closes #174: Changed field to true/false, fixed var in template, set a default. #182

Closed buddy-harlow closed 2 weeks ago

buddy-harlow commented 2 weeks ago

Real interesting problem here! So the way it was checking for featured was if the field existed. This works for some things, however if 'featured' was ever checked regardless of switching back, the field would have some value in it. You can switch to featured in a dev environment, then switch it back and it'll stay as featured. This PR should fix that issue!

mpbixal commented 2 weeks ago

Real interesting problem here! So the way it was checking for featured was if the field existed. This works for some things, however if 'featured' was ever checked regardless of switching back, the field would have some value in it. You can switch to featured in a dev environment, then switch it back and it'll stay as featured. This PR should fix that issue!

That is funny, nice spot!