Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vmusicchart-cms
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Phạm Văn Đoan
vmusicchart-cms
Commits
5c4fcced
Commit
5c4fcced
authored
Mar 12, 2020
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lỗi tìm kiếm tên bài hát có chữ hoa là nguyên âm
parent
9dd00d3a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Track_model.php
application/models/Track_model.php
+2
-0
No files found.
application/models/Track_model.php
View file @
5c4fcced
...
...
@@ -136,6 +136,7 @@ class Track_model extends CI_Model
$this
->
db
->
like
(
'title'
,
$name
,
'both'
);
$this
->
db
->
or_like
(
'description'
,
$name
,
'both'
);
$this
->
db
->
or_like
(
'slug'
,
$name
,
'both'
);
$this
->
db
->
or_like
(
'slug'
,
MyHelper
::
genSlug
(
$name
),
'both'
);
$this
->
db
->
or_like
(
'tag'
,
$name
,
'both'
);
}
if
(
$fBySinger
==
1
)
{
...
...
@@ -190,6 +191,7 @@ class Track_model extends CI_Model
$this
->
db
->
like
(
'tracks.title'
,
$name
,
'both'
);
$this
->
db
->
or_like
(
'tracks.description'
,
$name
,
'both'
);
$this
->
db
->
or_like
(
'tracks.slug'
,
$name
,
'both'
);
$this
->
db
->
or_like
(
'tracks.slug'
,
MyHelper
::
genSlug
(
$name
),
'both'
);
$this
->
db
->
or_like
(
'tracks.tag'
,
$name
,
'both'
);
}
if
(
$fBySinger
==
1
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment