Skip to content
Snippets Groups Projects
Commit 94b93322 authored by srosse's avatar srosse
Browse files

OO-2013: add authors to the "text" query

parent b81b9b46
No related branches found
No related tags found
No related merge requests found
...@@ -101,9 +101,9 @@ public class VideoEntryDataSource implements FlexiTableDataSourceDelegate<Reposi ...@@ -101,9 +101,9 @@ public class VideoEntryDataSource implements FlexiTableDataSourceDelegate<Reposi
} }
if(StringHelper.containsNonWhitespace(query)) { if(StringHelper.containsNonWhitespace(query)) {
searchParams.setIdRefsAndTitle(query); searchParams.setText(query);
} else { } else {
searchParams.setIdRefsAndTitle(null); searchParams.setText(null);
} }
List<RepositoryEntryMyView> views = repositoryService.searchMyView(searchParams, firstResult, maxResults); List<RepositoryEntryMyView> views = repositoryService.searchMyView(searchParams, firstResult, maxResults);
......
...@@ -250,6 +250,8 @@ public class RepositoryEntryMyCourseQueries { ...@@ -250,6 +250,8 @@ public class RepositoryEntryMyCourseQueries {
PersistenceHelper.appendFuzzyLike(sb, "v.description", "displaytext", dbInstance.getDbVendor()); PersistenceHelper.appendFuzzyLike(sb, "v.description", "displaytext", dbInstance.getDbVendor());
sb.append(" or "); sb.append(" or ");
PersistenceHelper.appendFuzzyLike(sb, "v.objectives", "displaytext", dbInstance.getDbVendor()); PersistenceHelper.appendFuzzyLike(sb, "v.objectives", "displaytext", dbInstance.getDbVendor());
sb.append(" or ");
PersistenceHelper.appendFuzzyLike(sb, "v.authors", "displaytext", dbInstance.getDbVendor());
sb.append(")"); sb.append(")");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment