mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
파일 모듈에서 검색시에 search operator 사용하도록 수정 (#1519)
* 통합검색 모듈에서 검색어가 이중으로 escape 되는 문제 수정 * 파일 검색시에도 'search' operator 사용하도록 수정 * XML 쿼리 파일 내의 id가 실제 쿼리 id와 다르게 작성되어 있던 오타를 수정합니다.
This commit is contained in:
parent
b125b4684a
commit
97fc096fbd
2 changed files with 2 additions and 3 deletions
|
|
@ -173,7 +173,6 @@ class fileAdminModel extends file
|
|||
switch($search_target)
|
||||
{
|
||||
case 'filename' :
|
||||
if($search_keyword) $search_keyword = str_replace(' ','%',$search_keyword);
|
||||
$args->s_filename = $search_keyword;
|
||||
break;
|
||||
case 'filesize_more' :
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<query id="getFilesCount" action="select">
|
||||
<query id="getFilesCountByGroupValid" action="select">
|
||||
<tables>
|
||||
<table name="files" />
|
||||
</tables>
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
<condition operation="equal" column="isvalid" var="isvalid" pipe="and" />
|
||||
<condition operation="equal" column="direct_download" var="direct_download" pipe="and" />
|
||||
<group pipe="and">
|
||||
<condition operation="like" column="source_filename" var="s_filename" pipe="or" />
|
||||
<condition operation="search" column="source_filename" var="s_filename" pipe="or" />
|
||||
<condition operation="more" column="file_size" var="s_filesize_more" pipe="or" />
|
||||
<condition operation="less" column="file_size" var="s_filesize_less" pipe="or" />
|
||||
<condition operation="more" column="download_count" var="s_download_count" pipe="or" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue