Browse Source

搜索课程时不按库类型过滤,搜索所有

tags/v1.22.1.3^2
ychao_1983 3 years ago
parent
commit
c30a7bbf6e
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      routers/org/home.go

+ 0
- 1
routers/org/home.go View File

@@ -91,7 +91,6 @@ func Home(ctx *context.Context) {
var CourseOptional util.OptionalBool = util.OptionalBoolNone
if setting.Course.OrgName == org.Name {
pageSize = 15
CourseOptional = util.OptionalBoolTrue
recommendCourseKeyWords, _ := repository.GetRecommendCourseKeyWords()
ctx.Data["CoursesKeywords"] = recommendCourseKeyWords



Loading…
Cancel
Save