- πΊπΈUnited States rlhawk Seattle, Washington, United States
Here's a patch that reflects the current state of the merge request, with fields to set the status on the block and category forms.
-
vbouchet β
committed 27e30dd4 on 8.x-1.x authored by
rlhawk β
Issue #3311950 by rlhawk, yonailo, vbouchet: Don't display disabled...
-
vbouchet β
committed 27e30dd4 on 8.x-1.x authored by
rlhawk β
- Status changed to Fixed
over 1 year ago 9:55am 23 March 2023 - π«π·France vbouchet
Thanks @rlhwk for the patch and @yonailo for the useful addition.
I slightly adapted the patch:
- Instead of doing the filtering in the foreach loops, I simply updated the->loadMultiple()
queries to use->loadByProperties(['status' => TRUE]);
instead.
- I added the status (Enabled/Disabled) as columns in the block and categories list so people don't need to check the Edit form to get the status.I will create a follow-up task to have Enable / Disable link in the operation links.
- πΊπΈUnited States rlhawk Seattle, Washington, United States
Wonderful, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.