File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/threestar/trainus/domain/lesson/teacher/repository Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ int countCreatedLessons(
218218 AND (:district IS NULL OR l.district = :district)
219219 AND (:dong IS NULL OR l.dong = :dong)
220220 AND (:ri IS NULL OR l.ri = :ri)
221- AND MATCH(l.lesson_name, l.description ) AGAINST(:search IN BOOLEAN MODE)
221+ AND MATCH(l.lesson_name) AGAINST(:search IN BOOLEAN MODE)
222222 ORDER BY
223223 CASE WHEN :sort = 'LATEST' THEN l.created_at END DESC,
224224 CASE WHEN :sort = 'OLDEST' THEN l.created_at END ASC,
@@ -248,7 +248,7 @@ SELECT COUNT(*) FROM (
248248 AND (:district IS NULL OR l.district = :district)
249249 AND (:dong IS NULL OR l.dong = :dong)
250250 AND (:ri IS NULL OR l.ri = :ri)
251- AND MATCH(l.lesson_name, l.description ) AGAINST(:search IN BOOLEAN MODE)
251+ AND MATCH(l.lesson_name) AGAINST(:search IN BOOLEAN MODE)
252252 LIMIT :limit
253253 ) t
254254 """ , nativeQuery = true )
You can’t perform that action at this time.
0 commit comments