I have been following this guide to add search to radiant.
I would like to add search globally - not only on a specific search
page. And to do that I have to apply the “search_extension.diff” patch,
but when I run it it says:
[[email protected] radapp]$ patch -p0 < search_extension.diff
patching file vendor/extensions/search/test/unit/search_page_test.rb
patching file vendor/extensions/search/test/unit/search_tags_test.rb
patching file vendor/extensions/search/test/fixtures/pages.yml
patching file vendor/extensions/search/test/fixtures/page_parts.yml
patching file vendor/extensions/search/app/models/search_page.rb
Hunk #2 succeeded at 72 (offset 8 lines).
patching file vendor/extensions/search/app/models/search_tags.rb
patching file vendor/extensions/search/search_extension.rb
Hunk #1 FAILED at 9.
1 out of 1 hunk FAILED – saving rejects to file
I kind of hoped it did not matter, but when i add the search tag on a
page it displays:
undefined tag `search’
(I also ran “rake production db:migrate:extensions” after the patch was