For environments it's easy to inject some custom settings using form_alter that get serialized to database.
But it's not easily possible to add custom settings to search pages. These settings are serialized to the database as well and would be a perfect place for some custom search page settings
I created a small patch that allows contrib modules to do so easily.
Motivation: Apache Solr Multilingual currently has some global configurations for the default search index / environment and for the default search page. In order to support multiple environments and multiple search pages we need to store individual settings.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 1918030-D6-9.patch | 2.64 KB | pwolanin |
| #4 | 1918030-4.patch | 2.64 KB | pwolanin |
| #1 | 1918030_add_custom_settings_to_search_pages.patch | 807 bytes | mkalkbrenner |
Comments
Comment #1
mkalkbrennerComment #2
klonos...coming from #1702354: Apache Solr Multilingual 7.x Roadmap
Comment #3
pwolanin commentedWe can instead set #tree on the advanced section?
Comment #4
pwolanin commentedComment #5
nick_vhLooks good to me
Comment #6
mkalkbrennerThe patch for Apache Solr Multilingual to use #4 instead of #1:
Comment #7
pwolanin commentedcommitted to 7.x
Comment #8
mkalkbrennercommitted #6 to Apache Solr Multilingual
Comment #9
pwolanin commentedhere's a simple application of the patch to 6.x-3.x - needs testing.
Comment #10
mkalkbrenner9: 1918030-D6-9.patch queued for re-testing.
Comment #11
mkalkbrennerComment #13
mkalkbrennerTested by http://cgit.drupalcode.org/apachesolr_multilingual/commit/?id=b8b3d71