silverstripe-searchable-dataobjects icon indicating copy to clipboard operation
silverstripe-searchable-dataobjects copied to clipboard

Possibility to filter by language or Subsite?

Open wernerkrauss opened this issue 9 years ago • 3 comments

Any chance to get additional fields in the search table, e.g. for subsite/multisite environment or for locale?

How could we easily alter the seach DB? Should we use a DataObject instead? You could still query it manually... Or just with extensions hooks when we generate the table / insert / search ???

wernerkrauss avatar Oct 21 '15 16:10 wernerkrauss

Adding subsite/multisite/locale support can be tricky, isn't it? Now I'm really busy @ work and I can't handle this, but it can be a good idea for a next release.

Do you have any idea on how to handle it?

g4b0 avatar Nov 03 '15 15:11 g4b0

Use ORM for table creation? Then we can extend it with DataExtensions...

Saving Data could work manually (is it really faster?) like now, with extension points to add additional data.

As SS 3.2 uses PDO we could utilize predefined queries?

wernerkrauss avatar Nov 03 '15 19:11 wernerkrauss

@wernerkrauss a PR would be really appreciated. Breaking 3.1 compatibility could be an option, if no other solution works.

g4b0 avatar Feb 27 '17 14:02 g4b0