Title says it all. Merge has requested this as a custom module, but I realized that this is possible to do with the existing HS API, which means that any HS implementation that implements the optional hierarchical_select_entity_count hook can automatically get this feature.
So, instead of writing a custom module, I opted to add a new setting.
Patch is developed against the D6 version, but applied (with offsets) to the D5 version as well, so I rolled a clean patch for D5 as well. Yay for a single codebase!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | require_entity.patch | 15.3 KB | wim leers |
| #1 | require_entity-D5.patch | 14.51 KB | wim leers |
| require_entity-D5.patch | 12.97 KB | wim leers | |
| require_entity.patch | 12.96 KB | wim leers |
Comments
Comment #1
wim leersI forgot to update the 'export config' code to include this setting as well.
Comment #2
wim leersCommitted!
Thanks, Merge!
D6: http://drupal.org/cvs?commit=242764
D5: http://drupal.org/cvs?commit=242766