Skip to content

Commit b309081

Browse files
committed
Allow to search by project reference number
1 parent f1a7b35 commit b309081

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This file documents all notable changes made to ITFlow.
88
- Set default to date to 2035-12-31 as 9999-12-31 and 2999-12-31 broke certain browsers.
99
- Update Client PDF Export, add header added company logo.
1010
- Present Larger clearer Warning about updates on update page.
11+
- Allow to search by project reference.
1112

1213
## [25.03.5]
1314

projects.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
LEFT JOIN clients ON client_id = project_client_id
4949
LEFT JOIN users ON user_id = project_manager
5050
WHERE DATE(project_created_at) BETWEEN '$dtf' AND '$dtt'
51-
AND (project_name LIKE '%$q%' OR project_description LIKE '%$q%' OR user_name LIKE '%$q%')
51+
AND (CONCAT(project_prefix,project_number) LIKE '%$q%' OR project_name LIKE '%$q%' OR project_description LIKE '%$q%' OR user_name LIKE '%$q%')
5252
AND project_completed_at $status_query
5353
$project_permission_snippet
5454
AND project_$archive_query

0 commit comments

Comments
 (0)