Skip to content

Commit 23107d9

Browse files
authored
Merge pull request #31 from bimberlabinternal/23.3_fb_QueryForeignKey
Update AbstractForeignKey to use the target container, rather than source, for ContainerFilter
2 parents 86bc41e + cb72353 commit 23107d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laboratory/src/org/labkey/laboratory/query/LaboratoryTableCustomizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public TableInfo getLookupTableInfo()
299299
if (null == _table)
300300
{
301301
// get forWrite==true because we modify this table
302-
TableInfo ti = ((UserSchema)getSchema()).getTable(_tableName, getLookupContainerFilter(), true, true);
302+
TableInfo ti = ((UserSchema)getLookupSchema()).getTable(_tableName, getLookupContainerFilter(), true, true);
303303

304304
((MutableColumnInfo)ti.getColumn(qd.getTargetColumn())).setKeyField(true);
305305

0 commit comments

Comments
 (0)