hackmd-io-issues icon indicating copy to clipboard operation
hackmd-io-issues copied to clipboard

Search bar not working properly in specific notes in book mode

Open brlin-tw opened this issue 2 years ago • 1 comments

Is this a hackmd.io issue?

  • [x] Yes, the bug happens on https://hackmd.io

What's the problem

I encountered a case where the search bar doesn't properly filter the nodes in a specific book mode note:

Current behaviour

圖片

Provide steps to reproduce:

  1. Go to https://hackmd.io/@brlin/orncb-aws-cloudfront-dev-guide
  2. Click on the search bar on the top-left of the page
  3. Enter value as the search keyword
  4. See error

Expected behaviour

Nodes properly filtered according to the inputted keyword

Environment

I use HackMD on:

  • OS: Ubuntu 22.04 LTS AMD64
  • Browser: Mozilla Firefox
  • Browser Version: 113.0.1

brlin-tw avatar May 30 '23 08:05 brlin-tw

Just a guess, but maybe external links cannot be searched, only notes can be searched. For example, the "索引" can be searched, but others such as "What is Amazon CloudFront?" cannot be searched because they belong to external links.

Latisha19 avatar Dec 26 '23 10:12 Latisha19