- Add module parameter to setDefaultParams and getParamValues methods
- Remove dependency on $_SESSION global variable in getParamValues
- Improve method encapsulation by explicit parameter passing
- Rename method cacheSearchParams() to cacheSearchFunc() in framework/model.class.php
- Update parameter name from cacheSearchParams to cacheSearchFunc across execution and my modules
- Update corresponding test files and documentation comments
- Improve naming clarity to reflect that we're caching the function/method rather than just parameters
- Change return type from bool to array for better data flow
- Replace direct $_SESSION access with $this->session for consistency
- Add null check for funcArgs parameter validation
- Return cached search parameters as fallback instead of false
- Return actual function result instead of boolean success indicator
- Change session key from 'searchParams' to 'SearchFunc' for consistency
- Simplify processSearchParams method to accept module name directly
- Update method calls across search control and zen modules
- Replace loadModel('search')->setSearchParams() call with direct session setting in framework/model.class.php
- Remove redundant parameter clearing and early return logic from searchModel::setSearchParams method
- Replace direct modification of global config with local searchConfig variable
- Avoid side effects by working with local copy instead of modifying shared config
- Add return statement to provide searchConfig for potential future use
- Add productID parameter to buildTaskSearchForm method to support better filtering
- Introduce module parameter to handle different search contexts (task, programplanTask, projectTask)
- Refactor search configuration to be more modular and context-aware
- Remove hardcoded search module configurations and pass them as parameters
- Simplify search form initialization across execution, programplan, and project modules
- Improve code reusability by centralizing search configuration logic
- Add conditional field filtering based on execution type and search context