1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00
bimlas 5f5a7880a6 Fix tag filtering in search entry
Some issues introduced in #954
(https://github.com/BoostIO/Boostnote/pull/954#issuecomment-336344915):

- search by `#tag1 #tag2` returns the results of only `#tag2`
- search by `#tag1 content` is as same as AND search by `#tag1 content` (and
  `#tag1` is regarded a word, not a tag)
- search by `content #tag1` returns the results of only `#tag1`

This commit fixing these:

- search by `#tag1 #tag2` returns the results of only `#tag2`

  ![screencast](https://i.imgur.com/SjhQIhl.gif)

- search by `#tag1 content` is as same as AND search by `#tag1 content` (and
  `#tag1` is regarded a word, not a tag)

  ![screencast](https://i.imgur.com/G0Tmd8c.gif)

- search by `content #tag1` returns the results of only `#tag1`

  ![screencast](https://i.imgur.com/5MrMbE6.gif)

NOTE: the examples works without `#` character too, because
`findByWord()` checks the tags too.
2018-03-20 09:01:11 +01:00
2017-10-16 15:09:28 +09:00
2018-03-20 09:01:11 +01:00
2018-02-26 16:43:13 +01:00
2017-10-16 13:57:39 +09:00
2018-03-20 09:01:11 +01:00
2018-02-03 23:39:53 +09:00
2017-01-11 23:52:22 +09:00
2017-11-24 17:00:03 +01:00
2017-12-08 16:21:31 +01:00
2018-02-03 23:39:53 +09:00
2016-01-10 06:46:20 +09:00
2017-11-27 02:57:17 +09:00
2018-02-13 13:37:04 +09:00
2018-02-03 23:39:53 +09:00
2017-11-07 10:03:07 +09:00
2018-02-13 13:37:04 +09:00
2018-03-06 09:54:37 +01:00
2018-03-19 00:22:07 +03:00
2018-03-08 11:35:41 +09:00
2018-02-04 00:12:38 +09:00
2018-02-03 23:39:53 +09:00
2017-06-10 12:48:28 +09:00
2018-03-19 00:22:07 +03:00

📣 We've launched a blogging platform with markdown called Boostlog.

Boostnote app screenshot

Note-taking app for programmers.

Apps available for Mac, Windows, Linux, Android and iOS.
Built with Electron, React + Redux, Webpack and CSSModules.

Build Status

Authors & Maintainers

Contributors

Thank you to all the people who already contributed to Boostnote!

Supporting Boostnote

Boostnote is an open source project. It's an independent project with its ongoing development made possible entirely thanks to the support by these awesome backers. If you'd like to join them, please consider:

Community

More Information

License

GPL v3.

Description
No description provided
Readme 24 MiB
Languages
JavaScript 82.6%
Stylus 16.2%
HTML 1.2%