Commit Graph
151 Commits
Author SHA1 Message Date
liugang 0fd75146a3 * [misc] Fix error the data type is not array. 2025-09-08 09:17:07 +08:00
liugang 7498d22d3a * [refac] Refactor: improve parameter passing in search module methods.
- Add module parameter to setDefaultParams and getParamValues methods
- Remove dependency on $_SESSION global variable in getParamValues
- Improve method encapsulation by explicit parameter passing
2025-08-19 07:18:37 +00:00
liugang 843b789cd8 * [refac] Refactor: merge buildQuery and buildOldQuery methods to reduce code duplication. 2025-08-19 06:25:16 +00:00
liugang 8e5dfb0d04 * [refac] Refactor: merge buildForm and buildOldForm methods to reduce code duplication. 2025-08-19 06:11:32 +00:00
liugang 55ae0bdf14 * [refac] Refactor: simplify code to build search form. 2025-08-19 06:11:32 +00:00
liugang 6468a758ea * [bug#64822] Fix error of building search form. 2025-08-19 00:58:09 +00:00
liugang 291afb4f2c * [perf] Optimize search module variable usage and simplify field control access. 2025-08-18 11:50:20 +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 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 e50e1ef834 + [perf] Optimize search module to process search parameters when needed. 2025-08-18 09:09:09 +08:00
liugang acb3b2735e Revert "* [perf] decrease search params saved in session to improve performance."
This reverts commit f862f6d46b.
2025-08-07 14:58:04 +08:00
liugang f862f6d46b * [perf] decrease search params saved in session to improve performance. 2025-07-08 13:29:50 +08:00
liumengyi 7ed150110f + [bug#56557,start,1h] append workflow search config. 2025-01-07 10:32:51 +08:00
qixinzhi 8df22f5ea5 * [bug] fix search form. 2024-12-10 14:35:00 +08:00
qixinzhi 7f8530bee8 * [story#69800,0.5h] move to model. 2024-12-10 10:48:33 +08:00
wangyidong 464bd3639c * [refac bug #53579] Add flow search config. 2024-09-03 10:40:20 +08:00
daitingting f7906161ff * Add testcase in oldQuery. 2024-03-18 08:32:11 +00:00
wangyuting d8a0bc338c * Finish old search. 2024-03-04 14:40:09 +08:00
wangyuting afff7268e1 * Fix search form onMenuBar empty bug. bug #45848. 2024-02-20 09:36:36 +08:00
daitingting c0a76d9b4b * Refactor ajaxRemoveMenu function. 2023-12-13 01:15:35 +00:00
daitingting dec953f58d * Remove useless function. 2023-12-13 01:10:10 +00:00
daitingting e12ed89ace * Move setDefaultParams in zen. 2023-12-07 02:03:36 +00:00
caoyanyi 8e17266f28 * Update commit link info. 2023-12-06 13:42:44 +08:00
caoyanyi a33ad4ad71 * Update copyright year. 2023-12-05 13:32:52 +08:00
daitingting eceaa3b844 * Move setOptions in zen. 2023-12-04 02:39:25 +00:00
hufangzhou efc5d41830 * Merge 18.8 search module. 2023-11-23 17:15:38 +08:00
daitingting 7ac23d9973 * Refactor index function. 2023-11-22 09:13:31 +00:00
daitingting 51011e7890 * Add note, refactor buildIndex function. 2023-11-22 08:26:54 +00:00
daitingting d3a353bc30 * Add note. 2023-11-22 08:10:38 +00:00
daitingting aac0211340 * Refactor saveQuery function. 2023-11-22 07:51:40 +00:00
daitingting cced1d4ecf * Add note. 2023-11-22 07:10:35 +00:00
daitingting d75d4dbbce * Format codes. 2023-11-22 06:39:17 +00:00
daitingting 002d306a16 * Set param's type. 2023-11-22 02:39:16 +00:00
caoyanyi 37e16e5662 * Hide devops search for no devops module. 2023-11-17 17:16:24 +08:00
sunhao 0c86e7c6b5 * search: refactor search pages with the zui.SearchForm component. 2023-11-16 08:45:19 +08:00
wangyidong 10d7e98f25 * Fix for save manageview. 2023-11-14 14:30:51 +08:00
zhaoke a4b5ee2a70 * Fix errors of search widget. 2023-08-09 16:33:46 +08:00
wangyidong a0f9de6a1f * Adjust for search toggle. 2023-08-04 17:55:12 +08:00
wangyidong e15aef8d18 * Adjust for submit search. 2023-08-04 16:58:06 +08:00
liugang cf5d1f87c7 * search: refactor for the picker wdiget's value has been changed. 2023-08-04 09:42:35 +08:00
liugang 3ba96a6cf4 * search: refactor for the $type variable passed from frontend has been changed. 2023-08-04 09:15:05 +08:00
liugang 31508272c3 * search: refactor the build index page by zin, finish task #98693. 2023-07-27 15:18:14 +08:00
wangyidong c0242be19b * Adjust for product edit page. 2023-07-12 14:14:02 +08:00
wangyidong c1cfaac74b * Adjust for search form. 2023-07-08 11:07:17 +08:00
daitingting 8f5db9f448 * Add remove button for custom query list. 2023-06-12 01:43:10 +00:00
hufangzhou dc8fcc9484 * Merge 18.4 into master. 2023-05-05 09:26:04 +08:00
wangyidong 9c22942526 * fix bug #34834. 2023-04-26 20:50:56 +08:00
Hao Sun 2bcc9bdbf4 Merge branch 'zin_dev'
# Conflicts:
#	module/common/lang/zh-cn.php
#	module/product/lang/de.php
#	module/product/lang/en.php
#	module/product/lang/fr.php
#	module/product/lang/zh-cn.php
#	module/program/js/browse.js
#	module/program/lang/de.php
#	module/program/lang/en.php
#	module/program/lang/fr.php
#	module/program/lang/zh-cn.php
#	module/project/config.php
#	module/project/lang/de.php
#	module/project/lang/en.php
#	module/project/lang/fr.php
#	module/project/lang/zh-cn.php
#	module/search/view/buildform.html.php
#	module/task/control.php
2023-04-23 19:20:45 +08:00
tianshujie c24463a36b * Resolve issue #778. 2023-04-13 17:30:49 +08:00
陈涛 f5d54e0876 * zin: generate data of buildForm function. 2023-04-06 13:29:47 +08:00