mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-21 22:48:44 +00:00
Set tableName if null before filtering (as BackendQueryFilterUtils uses it for some cases now)
This commit is contained in:
@ -171,6 +171,14 @@ public class MemoryRecordStore
|
||||
|
||||
for(QRecord qRecord : tableData)
|
||||
{
|
||||
if(qRecord.getTableName() == null)
|
||||
{
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
// internally, doesRecordMatch likes to know table names on records, so, set if missing. //
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
qRecord.setTableName(input.getTableName());
|
||||
}
|
||||
|
||||
boolean recordMatches = BackendQueryFilterUtils.doesRecordMatch(input.getFilter(), qRecord);
|
||||
|
||||
if(recordMatches)
|
||||
|
Reference in New Issue
Block a user