Include author name in the goodreads search term
This commit is contained in:
committed by
Aditya Chandel
parent
4d8dcce7d4
commit
9d8ca8f911
+3
@@ -354,6 +354,9 @@ public class GoodReadsParser implements BookParser {
|
|||||||
if (searchTerm != null) {
|
if (searchTerm != null) {
|
||||||
BookUtils.cleanAndTruncateSearchTerm(searchTerm);
|
BookUtils.cleanAndTruncateSearchTerm(searchTerm);
|
||||||
}
|
}
|
||||||
|
if(request.getAuthor() != null && !request.getAuthor().isEmpty()) {
|
||||||
|
searchTerm += " " + BookUtils.cleanAndTruncateSearchTerm(request.getAuthor());
|
||||||
|
}
|
||||||
return searchTerm;
|
return searchTerm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user