Closed (won't fix)
Project:
Display Suite
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Sep 2013 at 20:10 UTC
Updated:
5 Jul 2018 at 11:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
cato commentedThis is a solution for my specific problem only and probably carries multiple dependencies (such as for Entity file) and possible the plague as well.
To allow DS to group by more types than just nodes (Solr can index files also), one has to query Entity file for all possible file types (bundle names) to include in the grouping.
Line 127 in ds_search.admin.inc
Changes to
Now, this is not a clean solution and not something I would recommend to anyone unless it gets the blessing of the DS developers / maintainers. But it seems to do the trick in my specific situation.
Please disregard attached patch as it contains an error.
Comment #2
cato commentedIgnore previous patch. Rolled a better patch that actually checks if requisite functions exist before appending the file types to the $node_types array.
Still might carry the plaque or ebola though.
Comment #3
cato commentedChanged Category from support request to feature request
Comment #4
aspilicious commentedThnx for the patch but I'm not accepting feature requests for Drupal 7 anymore.