29 Commits
Author SHA1 Message Date
Pontus Horn e82ba7204a Merge pull request #12 from muranava/main
add isset to stop undefined q error
2021-03-14 17:23:22 +01:00
muranava 2aae664eb6 add isset 2021-03-14 14:35:08 +01:00
pontus.horn ba5fabdfdc Don't manipulate $pages directly
Makes a Twig filter called apply_search available, which can be used in
templates to
filter the pages array on demand. Because of that, we can stop mutating
the pages array, which other extensions and themes may rely on.
2020-01-22 22:10:25 +01:00
Pontus Horn b539f8e359 Use correct variable name in isLowValueWord 2019-11-11 17:40:52 +01:00
Pontus Horn 4476f85886 Define $folder before using it 2019-11-11 17:39:54 +01:00
pontus.horn 76e9bab587 Support unicode case-insensitive matching 2019-08-17 23:45:25 +02:00
Pontus Horn 88719e5b3d Avoid warning on missing low_value_words config 2019-08-03 18:46:59 +02:00
pontus.horn 39ca6381dd Make search terms available to template 2019-06-14 23:44:04 +02:00
Pontus Horn 1adbcec56f Clarify search form example
Addresses #6, which highlights some confusion about the example search form.
This updates it to use the `link` filter used in Pico templates to render URLs
appropriate for the value of the `rewrite_url` config variable.
2019-06-14 23:08:36 +02:00
pontus.horn d456e95c96 Add basic search ranking 2019-05-02 21:11:34 +02:00
Pontus Horn 4ca2d559e5 Clarify search results template instructions 2017-09-08 12:45:57 +02:00
Pontus Horn 0cf5d2243e Clarify installation instructions 2017-09-06 11:52:51 +02:00
Pontus Horn af Rantzien 09597fa838 Update search results example in README.md 2016-11-13 22:20:01 +01:00
Pontus Horn af Rantzien c0711ec72c Merge pull request #3 from phaziz/master
Updated code block for search results.
2016-11-09 09:05:28 +01:00
Christian Becher 100d2da941 Merge pull request #1 from phaziz/phaziz-patch-1
Updated code example for results page
2016-11-09 08:45:09 +01:00
Christian Becher 62a7111643 Updated code example for results page
Otherwise, if no results found, twig produces an error message that breaks down the whole website/page.
2016-11-09 08:43:20 +01:00
Pontus Horn af Rantzien 037e4b8386 Improve effectiveness of regular expressions 2016-10-17 13:00:01 +02:00
Pontus Horn af Rantzien 6fd9d6a4ca Fix incorrect regular expressions 2016-10-17 12:57:49 +02:00
pontus.horn f0529e8446 Fixed up incomplete/invalid PHPDoc 2016-08-25 19:54:38 +02:00
pontus.horn 5db2cb4f7c Cleaned up regular expressions by using a more appropriate delimiter 2016-08-25 19:50:13 +02:00
pontus.horn 36fd7e1da8 Allow search without intercepting form submission in JS (#1) 2016-08-25 19:32:00 +02:00
pontus.horn e3440a7d1a Merge branch 'master' of https://github.com/PontusHorn/Pico-Search 2016-07-06 13:54:44 +02:00
pontus.horn b244625842 Modify the request file rather than the request URL, for better compatibility with other plugins 2016-07-06 13:53:52 +02:00
Pontus Horn af Rantzien d3aefe2b21 Add syntax highlighting to readme 2016-07-05 12:00:35 +02:00
pontus.horn 00056fde62 Added a configuration option for excluding certain pages from the results 2016-07-05 11:57:34 +02:00
pontus.horn 9a8972b599 Added documentation to readme 2016-06-21 16:04:54 +02:00
pontus.horn 8dc8361a5e Initial plugin commit 2016-06-21 12:36:55 +02:00
pontus.horn c2f8f41f2a Added .gitignore 2016-06-20 17:21:49 +02:00
Pontus Horn af Rantzien 7368e3fd86 Initial commit 2016-06-20 17:19:56 +02:00