e4d45c038f7a0e2e47610b4604b4d2908a8696cc
chmalee
  Mon Jun 16 12:21:15 2025 -0700
Add missing call to update the actual select when clear filters is clicked, refs #35906

diff --git src/hg/js/ui.dropdownchecklist.js src/hg/js/ui.dropdownchecklist.js
index bcceb3e34a0..fc0b6c93afd 100644
--- src/hg/js/ui.dropdownchecklist.js
+++ src/hg/js/ui.dropdownchecklist.js
@@ -500,30 +500,33 @@
                     if ( firstCheckbox != null ) {
                     	firstCheckbox.prop("checked", allChecked );
                     }
                 }
             }
             // do the actual synch with the source select
             allCheckboxes = dropWrapper.find("input");
             allCheckboxes.each(function(index) {
                 $(selectOptions[index]).attr("selected", $(this).prop("checked"));
             });
             // update the text shown in the control
             self._updateControlText();
 
         	// Ensure the focus stays pointing where the user is working
         	if ( senderCheckbox != null) { senderCheckbox.focus(); }
+
+            // now do all the internals:
+            self.sourceSelect.trigger("change", 'ddcl_internal');
         },
         _sourceSelectChangeHandler: function(event) {
             var self = this, dropWrapper = this.dropWrapper;
             dropWrapper.find("input").val(self.sourceSelect.val());
 
         	// update the text shown in the control
         	self._updateControlText();
         },
         // Updates the text shown in the control depending on the checked (selected) items
         _updateControlText: function() {
             var self = this, sourceSelect = this.sourceSelect, options = this.options, controlWrapper = this.controlWrapper;
             var firstOption = sourceSelect.find("option:first");
             var selectOptions = sourceSelect.find("option");
             var text = self._formatText(selectOptions, options.firstItemChecksAll, firstOption);
             var controlLabel = controlWrapper.find(".ui-dropdownchecklist-text");