Browse code

bugfix

OganM authored on 24/10/2022 21:15:16
Showing 1 changed files

... ...
@@ -986,7 +986,7 @@ search_datasets <- function(query, taxon = NA_character_, offset = 0L, limit = 2
986 986
         offset = validatePositiveInteger, limit = validateLimit,
987 987
         sort = validateSort
988 988
     )
989
-    endpoint <- "annotations/{encode(taxon)}/search/datasets?query={encode(query)}"
989
+    endpoint <- "annotations/{encode(taxon)}/search/datasets?query={encode(query)}&limit={encode(limit)}&offset={encode(offset)}&sort={encode(sort)}"
990 990
     if (memoised) {
991 991
         if (!is.na(file)) {
992 992
             warning("Saving to files is not supported with memoisation.")