mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
allCards() filtered by listId only, so list select-all selected cards across all swimlanes of the list. Add an optional swimlaneId scope (used in swimlanes view) so select-all is contained to the current swimlane; list-wide behavior is preserved when there is no swimlane context. Orphan cards remain selectable. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
10 lines
557 B
JavaScript
10 lines
557 B
JavaScript
// Pure, dependency-free helper for scoping "select all cards" to a swimlane
|
|
// (#5623). The implementation lives in models/lists.js (an isomorphic model
|
|
// file) so client and server share identical logic and the client build does
|
|
// not import anything from the server-only directory. This module re-exports
|
|
// the pure function at the documented test path and is itself free of any
|
|
// Meteor / Mongo / reactive-cache runtime dependency.
|
|
//
|
|
// See server/lib/tests/selectAllSwimlane.tests.js.
|
|
export { filterCardsByListAndSwimlane } from '/models/lists';
|