mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
e59937858c
The plural counterpart to find_by_display_id resolves a mix of numeric and semantic identifiers in a single composite scope so callers (notably ApplicationController#find_work_packages, used by bulk WP routes) do not have to branch on the input shape or partition into numeric/semantic themselves. Mirrors scope_for_semantic_identifier in using `.or` to union the primary-key, current-identifier, and historical-alias arms; unknown values resolve to no match rather than poisoning the rest of the set.