Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/components/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@labkey/components",
"version": "6.58.5",
"version": "6.58.6",
"description": "Components, models, actions, and utility functions for LabKey applications and pages",
"sideEffects": false,
"files": [
Expand Down
10 changes: 10 additions & 0 deletions packages/components/releaseNotes/components.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# @labkey/components
Components, models, actions, and utility functions for LabKey applications and pages

### version 6.58.6
*Released*: 26 August 2025
- Merge from release25.7-SNAPSHOT to develop
- includes changes from 6.53.4 #1843

### version 6.58.5
*Released*: 14 August 2025
- Issue 52026 and 51862: Reduce the logging for calculated expression column SQL errors
Expand Down Expand Up @@ -80,6 +85,11 @@ Components, models, actions, and utility functions for LabKey applications and p
- ProductMenu shows 'Dashboard' instead of 'Storage' as subtitle in FM /home route
- Issue 53371: Find Samples by ID JS error when clicking "Find Samples" button without entering anything into the text area

### version 6.53.4
*Released*: 21 August 2025
- SamplesAPIWrapper: add sort arg to getSelectionLineageData
- Issue 53702: Selection order is not retained when editing multiple samples in grid

### version 6.53.3
*Released*: 7 July 2025
- Issue 53394: FileInput revert removal of the "-fileUpload" suffix from inputId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export interface SamplesAPIWrapper {
schema: string,
query: string,
viewName: string,
columns?: string[]
columns: string[] | undefined,
sort: string | undefined
) => Promise<ISelectRowsResult>;

getTimelineEvents: (sampleId: number, timezone?: string) => Promise<TimelineEventModel[]>;
Expand Down
10 changes: 6 additions & 4 deletions packages/components/src/internal/components/samples/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,20 +201,22 @@ export function getSelectionLineageData(
schema: string,
query: string,
viewName: string,
extraColumns: string[] = []
extraColumns: string[] = [],
sort: string | undefined
): Promise<ISelectRowsResult> {
if (selections?.size === 0) return Promise.reject('No data is selected.');
const rowIds = Array.from(selections).map(s => parseInt(s, 10));

return selectRowsDeprecated({
schemaName: schema,
queryName: query,
viewName,
columns: List.of('RowId', 'Name', 'LSID', 'Folder')
.concat(ParentEntityLineageColumns)
.toArray()
.concat(extraColumns),
filterArray: [Filter.create('RowId', rowIds, Filter.Types.IN)],
queryName: query,
schemaName: schema,
sort,
viewName,
});
}

Expand Down