fix: propagate the model_data in the cursor
model_data can be used in Model::fields() method
This commit is contained in:
parent
1821c562f7
commit
c56bae57ca
|
@ -5,7 +5,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2018-2022, Tomasz Sowa
|
* Copyright (c) 2018-2023, Tomasz Sowa
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -186,6 +186,7 @@ public:
|
||||||
model_env.finder_helper = &finder_helper;
|
model_env.finder_helper = &finder_helper;
|
||||||
model_env.select_flags = select_flags;
|
model_env.select_flags = select_flags;
|
||||||
model_env.rows_counter = 0;
|
model_env.rows_counter = 0;
|
||||||
|
model_env.model_data = model_data;
|
||||||
|
|
||||||
if( model_env.select_flags.is_with_rows_counter() )
|
if( model_env.select_flags.is_with_rows_counter() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue