Fixes invalid authorname in explore (#4054)

* Fixes #3341, #4018
* Defined two feild author and user in Media and used them at the corresponding places
Minor bug fixes
-displaying userName in uploadedBy.
-modified HTML parsing in getArtist.
-Replaced creator with author.

* Fixes #3341, #4018
* Defined two feild author and user in Media and used them at the corresponding places
Minor bug fixes
-displaying userName in uploadedBy.
-modified HTML parsing in getArtist.
-Replaced creator with author.
This commit is contained in:
Ashish 2020-12-01 19:26:41 +05:30 committed by GitHub
parent f1b40728b2
commit d720750ab4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 56 additions and 61 deletions

View file

@ -40,7 +40,8 @@ fun media(
dateUploaded: Date? = Date(),
license: String? = "license",
licenseUrl: String? = "licenseUrl",
creator: String? = "creator",
author: String? = "creator",
user:String?="user",
pageId: String = "pageId",
categories: List<String>? = listOf("categories"),
coordinates: LatLng? = LatLng(0.0, 0.0, 0.0f),
@ -56,7 +57,8 @@ fun media(
dateUploaded,
license,
licenseUrl,
creator,
author,
user,
categories,
coordinates,
captions,