Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Table filter "does not contain" is case-sensitive while "contains" is not

オープン 初心者向け
#1,322 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
clojure
領域
databases

調査の方向性

deps/db/src/logseq/db/common/view.cljs から始め、:text-contains 演算子と :text-not-contains 演算子について match-text-or-number-clause と row-matched? を調べます。issue で説明されているモデルベースのプロパティテストを実行し、続いて、大文字と小文字を区別しない contains とその否定が、Apple/apple の例に対して相補的なテーブル結果を生成することを確認します。

索引モデルが issue の本文から書いたものです。

説明

Steps

  1. Create a tag Topic with a Text property "note".
  2. Tag a block with #Topic and set its "note" to "Apple".
  3. On the Topic page, filter the table by "note" contains "apple".
  4. Change the filter's operator to "does not contain", keeping "apple".

Expected

Exactly one of the 2 filters shows the block.

Actual

Both filters show the block. "contains" ignores case, "does not contain" does not.

Cause

In deps/db/src/logseq/db/common/view.cljs, match-text-or-number-clause lower-cases both sides for :text-contains and neither side for :text-not-contains; row-matched? (used by query tables) does the same.

Found with a model-based property test of table views that checks a filter against its negation, replayed on upstream master 16c4ed1a0.

主要言語
言語のデータがありません
スター
28
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

logseq/db-test のほかの issue

logseq/db-test の issue をすべて見る

似ている issue

Databases の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。