Skip to content

[pull] develop from baserow:develop#349

Merged
pull[bot] merged 2 commits into
code:developfrom
baserow:develop
Jul 3, 2026
Merged

[pull] develop from baserow:develop#349
pull[bot] merged 2 commits into
code:developfrom
baserow:develop

Conversation

@pull

@pull pull Bot commented Jul 3, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

alamin-br and others added 2 commits July 3, 2026 11:07
* feat(database): add starts with view filter type

Adds a new "starts_with" view filter that keeps rows whose field value
begins with the filter value (case-insensitive), with both backend and
web-frontend implementations including the real-time row-match check.

Supported field types: text, long text, url, email, phone number, number,
autonumber, single select, and text/char/url/number/single_select formulas.

Closes #1943

* test(web-frontend): update view filter form snapshot for starts with filter

* fix(database): address review feedback on starts with filter

- Use toSearchableString in the frontend startsWithFilter so real-time
  matching stays consistent with the backend for formatted number fields;
  delegate FormulaFieldType.startsWithFilter to the underlying field type so
  number/select formulas stay consistent too
- Don't trim the row value in genericStartsWithFilter (backend only strips the
  filter value, not the stored cell), avoiding leading-whitespace divergence
- Fix misleading docstrings on StartsWithViewFilterType and starts_with_query
- Add backend coverage for a non-text (number) formula and a frontend test for
  a formatted number field
- Link changelog entry to issue #1943

* fix(database): delegate starts_with filter on AI fields

Address review feedback on PR #5624:
- Delegate starts_with_query / getStartsWithFilterFunction on the premium
  AIFieldType so AI fields filter correctly instead of silently matching
  every row (backend Q() / frontend () => false fallthrough).
- Add backend and frontend regression tests for the AI-field gap.
- Remove the unreachable FormulaFieldType.getStartsWithFilterFunction.
- Rename genericStartsWithFilter's second arg to searchableRowValue.
- Trim the StartsWithViewFilterType docstring to its behavioral sentence.

* docs(database): note starts_with compatibility via get_compatible_filter_field_type
@pull pull Bot locked and limited conversation to collaborators Jul 3, 2026
@pull pull Bot added the ⤵️ pull label Jul 3, 2026
@pull pull Bot merged commit d5901c0 into code:develop Jul 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants