16 Commits

Author SHA1 Message Date
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
d456e95c96 Add basic search ranking 2019-05-02 21:11:34 +02: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
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
00056fde62 Added a configuration option for excluding certain pages from the results 2016-07-05 11:57:34 +02:00
pontus.horn
8dc8361a5e Initial plugin commit 2016-06-21 12:36:55 +02:00