Skip to content

Add support for WebDAV SEARCH on nc:metadata-photos-original_date_time, fileId and internal id field #57873

@marinofaggiana

Description

@marinofaggiana

Context / Motivation
The WebDAV SEARCH API already exposes several properties via PROPFIND, including stable identifiers (oc:fileid, oc:id) and photo-related metadata such as nc:metadata-photos-original_date_time.

However, these fields cannot currently be used consistently in SEARCH queries (SELECT / WHERE / ORDERBY), even though the underlying data already exists and is indexed.

This limitation makes it difficult for clients to implement efficient media queries, cursor-based pagination and incremental synchronization using SEARCH alone. 

This proposal does not introduce new metadata and does not change indexing behavior.

It simply allows existing properties to be used in WebDAV SEARCH:
• oc:fileid
• oc:id
• nc:metadata-photos-original_date_time

These properties can be:
• returned in <d:select>
• used in <d:where> filters
• used in <d:orderby>

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapenhancement
    No fields configured for Enhancement.

    Projects

    Status

    Triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions