Custom search pages are now exportable (great work!). However, when you enable a feature that includes an exported search page, the path for that page is broken.
This happens because the list of available search pages relies on a database query, but feature-based search pages do not live in the database.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 1498490-11.patch | 3.96 KB | nick_vh |
| #5 | 1498490-4.patch | 8.23 KB | nick_vh |
| #3 | 1498490-3.patch | 5.83 KB | nick_vh |
| #1 | 1498490-1-menu-paths-for-exported-search-pages.patch | 1.46 KB | milesw |
Comments
Comment #1
milesw commentedTurns out it's a simple fix. Replaced the database query in apachesolr_search_menu_alter() with apachesolr_search_load_all_search_pages().
Comment #3
nick_vhThis should be better
Comment #4
nick_vhThis patch allows reverting search pages to their in-code variant.
https://skitch.com/nick_vh/8qdas/apache-solr-search-smartphone-compare
Comment #5
nick_vhForgot to attach it!
Comment #6
nick_vhCommitted
Comment #7
nick_vhComment #8
milesw commentedExcellent, thanks Nick. It's great having pages and environments exportable.
Comment #9
phoenix commentedGreat news Nick. We had the same problem here. Will try it out.
Just saw you changed t he version to drupal 6. Is it also fixed in the drupal 7 version?
Comment #10
nick_vhIt has been committed to 7.x-1.x, needs a backport for the 6.x-3.x version :-)
Comment #11
nick_vhComment #12
nick_vhFixed for all