fix: propagate the model_data in the cursor

model_data can be used in Model::fields() method
This commit is contained in:
Tomasz Sowa 2023-02-28 09:48:44 +01:00
parent 1821c562f7
commit c56bae57ca
Signed by: tomasz.sowa
GPG Key ID: 662CC1438638588B
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2018-2022, Tomasz Sowa
* Copyright (c) 2018-2023, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -186,6 +186,7 @@ public:
model_env.finder_helper = &finder_helper;
model_env.select_flags = select_flags;
model_env.rows_counter = 0;
model_env.model_data = model_data;
if( model_env.select_flags.is_with_rows_counter() )
{