liugang
a60d2e1ebb
* [misc] Simplify unittest steps of the myModel::buildTaskSearchForm method.
2025-08-18 16:01:25 +08:00
liugang
0f3567d9a4
+ [misc] Add unittest steps of the executionModel::buildTaskSearchForm method.
2025-08-18 15:58:02 +08:00
liugang
d65a3498ee
+ [misc] Add unittest steps of the executionModel::buildTaskSearchForm method.
2025-08-18 15:57:13 +08:00
liugang
95a107bc73
* [misc] Modify unittest script of the executionModel::buildTaskSearchForm method.
2025-08-18 15:55:43 +08:00
liugang
76bdb907e4
* [misc] Fix error parameter.
2025-08-18 15:54:01 +08:00
liugang
8201c88671
+ [misc] Add unittest steps of the myModel::buildTaskSearchForm method.
2025-08-18 13:59:56 +08:00
liugang
fc59f9b6b5
* [misc] Fix unittest error of the myModel::buildTaskSearchForm method.
2025-08-18 13:59:15 +08:00
liugang
d67ab3ca22
* [perf] Add cacheSearchParams parameter to processSearchParams method for performance control.
2025-08-18 13:04:42 +08:00
liugang
291afb4f2c
* [perf] Optimize search module variable usage and simplify field control access.
2025-08-18 11:50:20 +08:00
liugang
1cc1143ae7
* [perf] Refactor: convert object property access to array access in search module.
2025-08-18 11:33:49 +08:00
liugang
9197a66de1
* [perf] If the search function has been cached return the search configuration items.
2025-08-18 11:18:44 +08:00
liugang
3ef2691fd4
* [perf] IF the search function has been cached get search fields and parameters from configuration items instead of session.
2025-08-18 11:09:22 +08:00
liugang
cf956eaacd
* [perf] If the search function has been cached don't save search fields and parameters into session.
2025-08-18 11:08:10 +08:00
liugang
7cad0bbc79
* [perf] Move the processSearchParams method from searchZen to searchModel.
2025-08-18 11:07:15 +08:00
liugang
a8fb172c94
+ [misc] Add unittest steps of the myModel::buildTaskSearchForm method.
2025-08-18 10:40:43 +08:00
liugang
69ffa9b44d
+ [misc] Add unittest steps of the myModel::buildTaskSearchForm method.
2025-08-18 10:40:04 +08:00
liugang
0807faa0ca
* [misc] Fix unittest error of the myModel::buildTaskSearchForm method.
2025-08-18 10:38:57 +08:00
liugang
1658fae2ff
* [misc] Fix unittest error of the executionModel::buildTaskSearchForm method.
2025-08-18 09:44:19 +08:00
liugang
3d5bd5cca7
* [perf] refactor: improve processSearchParams return handling and session access
...
- 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
2025-08-18 09:40:55 +08:00
liugang
bc43a5a053
* [perf] refactor: standardize search cache naming and parameter handling
...
- 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
2025-08-18 09:25:19 +08:00
liugang
993931eb0d
* [perf] refactor: optimize search parameter handling mechanism
...
- 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
2025-08-18 09:21:40 +08:00
liugang
44828b6dee
* [perf] refactor: improve task search configuration handling in my module
...
- 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
2025-08-18 09:09:10 +08:00
liugang
ab4ecfb7af
* [perf] refactor: enhance task search form building functionality
...
- 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
2025-08-18 09:09:10 +08:00
liugang
a2227c2e0d
* [perf] Rename the processParams parameter to cacheSearchParams.
2025-08-18 09:09:10 +08:00
liugang
eb56003159
* [perf] Replace the magic constants __CLASS__ and __FUNCTION__ with the magic constant __METHOD__ to simplify the code.
2025-08-18 09:09:09 +08:00
liugang
145aa104ff
* [perf] Implement lazy search parameter processing in myModel::buildTaskSearchForm().
2025-08-18 09:09:09 +08:00
liugang
2a06c19ab3
* [perf] Implement lazy search parameter processing in executionModel::buildTaskSearchForm().
2025-08-18 09:09:09 +08:00
liugang
e50e1ef834
+ [perf] Optimize search module to process search parameters when needed.
2025-08-18 09:09:09 +08:00
liugang
b15b8d9995
+ [perf] Add a method to process search parameters when needed.
2025-08-18 09:09:09 +08:00
liugang
4cdff092dd
* [perf] Clear old search params and support function-based parameter storage.
2025-08-18 09:09:09 +08:00
liugang
f7bdd4283d
+ [perf] Add a method to cache search parameters.
2025-08-18 09:09:09 +08:00
刘刚
a7bb0c7f74
Merge branch release/21.7.5 of zentao/zentaopms ( #10955 )
2025-08-15 08:20:32 +08:00
wanshan
54fdf3766a
+ [feat] Add patch method in class rest.
2025-08-14 17:03:01 +08:00
李阳
0f707061a0
Merge branch release/21.7.5 of zentao/zentaopms ( #10953 )
2025-08-14 16:45:03 +08:00
huairong
ad387af93b
+ [task#148342,doing,0.5h,1.0h] Add ui test file
2025-08-14 16:39:14 +08:00
huairong
bbaad80dda
+ [task#148342,doing,1.5h,1.0h] Add createwaterfallplus function
2025-08-14 16:39:14 +08:00
李阳
088d8d6488
Merge branch release/21.7.5 of zentao/zentaopms ( #10952 )
2025-08-14 16:29:12 +08:00
lijie
542517b9c5
[task#147929, 2.5h] create batch edit story in lite.
2025-08-14 16:26:37 +08:00
刘刚
8b6c78de56
Merge branch release/21.7.5 of zentao/zentaopms ( #10945 )
2025-08-14 16:19:20 +08:00
sunguangming
7bb4b98fd0
* [misc] for sonar.
2025-08-14 06:51:15 +00:00
sunguangming
a61823b221
* [misc] return when filelist is empty.
2025-08-14 06:48:17 +00:00
李阳
cfe63c83cf
Merge branch release/21.7.5 of zentao/zentaopms ( #10944 )
2025-08-14 14:35:43 +08:00
lixiaoyu
fd98967a6b
*[task#147928,done,1h,0h]
2025-08-14 14:22:25 +08:00
lixiaoyu
3018e8908d
*[task#147928,doing,1h,3h]
2025-08-14 14:21:50 +08:00
lixiaoyu
12a40acc40
*[task#147928,doing,1h,3h]assign story in lite
2025-08-14 14:18:21 +08:00
刘刚
c09b5ebbc7
Merge branch release/21.7.5 of zentao/zentaopms ( #10942 )
2025-08-14 14:05:16 +08:00
刘刚
24b0132e1c
Merge branch dev/bug-64109 of zentao/zentaopms ( #10941 )
2025-08-14 14:05:02 +08:00
刘刚
d45d84bf23
Merge branch dev/bug-64400 of zentao/zentaopms ( #10940 )
2025-08-14 14:04:58 +08:00
tianshujie
8cb0e81681
* [task#148030,done,0.1h] add step for getOrderedExecutions method.
2025-08-14 13:29:30 +08:00
tianshujie
5e195fa280
* [task#148029,done,0.15h] add step for summary method.
2025-08-14 13:29:30 +08:00