nextcloud / nextcloud/tables

Filter in Views - Metadaten

Open
#609 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug discussion
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

Steps to reproduce

Problem aus "Fix/547 views filter metacolumns #558" besteht weiterhin:
https://github.com/nextcloud/tables/issues/547

Mit Erstellung einer neuen Zeile wird automatisch das Standard-Feld "Erstellt am" und "Zuletzt bearbeitet am" mit demselben Wert vorbelegt - soweit in Ordnung. Dies machen wir uns zu nutze, damit neue Einträge in einer separaten Ansicht "New Items" für eine bestimmte Gruppe gefiltert angezeigt werden.

Aufbau der Tabelle

  1. Tabelle "Freigabe": Spalte "Titel" (Text, Pflichtfeld) und Spalte "System" (Auswahlfeld: DEV, TEST, PROD)
  2. View "New Items": Filter Spalte "Erstellt am", Bedingung "Ist gleich", Wert "Zuletzt bearbeitet am" kann nicht selektiert werden.
  3. Weiterhin funktioniert auch die selektierbare Vorauswahl "Heute" und "Jetzt" nicht - es wird kein Ergebnis angezeigt
  4. Auch die eigenständige Eingabe eines Datum als Wert (z. B. 2023-09-13) ist nicht möglich

Tabelle
2023-10-02_001

Ansicht
2023-10-02_002_without_Filter

Filter
2023-10-02_003_Filter_Settings

Ergebnis
2023-10-02_004_Filter_Result

Expected behavior

Vergleich vorhandener Metadaten-Spalten ("Erstellt am" = "Zuletzt bearbeitet am") => neuer Eintrag

Actual behavior

Filter funktioniert nicht.

Tables app version

0.6.0

Browser

Chrome 115.0.5790.111

Client operating system

No response

Operating system

No response

Web server

None

PHP engine version

None

Database

None

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the metadata-column filter in the Tables app using the steps in this issue and compare it with the related issue #547. Check the view filter behavior for “Erstellt am” versus “Zuletzt bearbeitet am”, the “Heute” and “Jetzt” presets, and manual dates. Done means these comparisons and date filters return the expected new items.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.