diff --git a/src/addon/mod/data/components/index/addon-mod-data-index.html b/src/addon/mod/data/components/index/addon-mod-data-index.html
index 422a2b75f..d6c306669 100644
--- a/src/addon/mod/data/components/index/addon-mod-data-index.html
+++ b/src/addon/mod/data/components/index/addon-mod-data-index.html
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/src/addon/mod/data/fields/url/providers/handler.ts b/src/addon/mod/data/fields/url/providers/handler.ts
index ae8eb55d5..1854df829 100644
--- a/src/addon/mod/data/fields/url/providers/handler.ts
+++ b/src/addon/mod/data/fields/url/providers/handler.ts
@@ -54,7 +54,7 @@ export class AddonModDataFieldUrlHandler extends AddonModDataFieldTextHandler {
{
fieldid: field.id,
subfield: '0',
- value: inputData[fieldName] || ''
+ value: (inputData[fieldName] && inputData[fieldName].trim()) || ''
}
];
}
diff --git a/src/addon/mod/data/pages/search/search.ts b/src/addon/mod/data/pages/search/search.ts
index d3eaf37a2..4ca20b5d0 100644
--- a/src/addon/mod/data/pages/search/search.ts
+++ b/src/addon/mod/data/pages/search/search.ts
@@ -117,6 +117,10 @@ export class AddonModDataSearchPage {
[placeholder]="\'addon.mod_data.authorlastname\' | translate" formControlName="lastname">';
template = template.replace(replace, render);
+ // Tags are unsupported right now.
+ replace = new RegExp('##tags##', 'gi');
+ template = template.replace(replace, '');
+
return template;
}
diff --git a/src/addon/mod/data/providers/helper.ts b/src/addon/mod/data/providers/helper.ts
index 0de845835..c713f3674 100644
--- a/src/addon/mod/data/providers/helper.ts
+++ b/src/addon/mod/data/providers/helper.ts
@@ -173,6 +173,7 @@ export class AddonModDataHelperProvider {
comments: database.comments,
// Unsupported actions.
+ tags: false,
delcheck: false,
export: false
};
diff --git a/src/addon/mod/forum/components/index/addon-mod-forum-index.html b/src/addon/mod/forum/components/index/addon-mod-forum-index.html
index 9eab4d526..47b6037c1 100644
--- a/src/addon/mod/forum/components/index/addon-mod-forum-index.html
+++ b/src/addon/mod/forum/components/index/addon-mod-forum-index.html
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/src/addon/mod/glossary/components/index/addon-mod-glossary-index.html b/src/addon/mod/glossary/components/index/addon-mod-glossary-index.html
index ad00c5d0f..b5617f259 100644
--- a/src/addon/mod/glossary/components/index/addon-mod-glossary-index.html
+++ b/src/addon/mod/glossary/components/index/addon-mod-glossary-index.html
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/src/addon/mod/lesson/components/index/addon-mod-lesson-index.html b/src/addon/mod/lesson/components/index/addon-mod-lesson-index.html
index c72ea903e..5e1c4d20b 100644
--- a/src/addon/mod/lesson/components/index/addon-mod-lesson-index.html
+++ b/src/addon/mod/lesson/components/index/addon-mod-lesson-index.html
@@ -35,9 +35,9 @@