mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
파일 이름 검색시에도 search operator를 사용하도록 수정.
This commit is contained in:
parent
ce63a69952
commit
75b0740bd8
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