mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Add unit test + 통합검색 키워드 글자 수 제한 변경
This commit is contained in:
parent
96fde908ba
commit
3ff91018cc
3 changed files with 40 additions and 2 deletions
|
|
@ -115,9 +115,9 @@ class integration_searchView extends integration_search
|
|||
// Set a variable for search keyword
|
||||
$is_keyword = Context::get('is_keyword');
|
||||
$is_keyword = escape(trim(utf8_normalize_spaces($is_keyword)));
|
||||
if (mb_strlen($is_keyword, 'UTF-8') > 40)
|
||||
if (mb_strlen($is_keyword, 'UTF-8') > 250)
|
||||
{
|
||||
$is_keyword = mb_substr($is_keyword, 0, 40);
|
||||
$is_keyword = mb_substr($is_keyword, 0, 250);
|
||||
}
|
||||
|
||||
// Set page variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue