From 9053bf30f69ee320baffcac86759a3d6e6dfecd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mart=C3=ADnez=20Portela?= Date: Wed, 26 Oct 2022 22:45:50 +0200 Subject: [PATCH] Fix premature return when TODOs found. --- static/search-box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/search-box.js b/static/search-box.js index c661ede..6531fce 100644 --- a/static/search-box.js +++ b/static/search-box.js @@ -82,7 +82,7 @@ function _codigoparallevar_enable_search_box(selector, options) { resultsList.innerHTML = ''; for (const note of body.results.notes) { if (note.is_todo === "1") { - return; + continue; } const resultCard = document.createElement('li');