Skip to content

Commit 8412103

Browse files
committed
don't include attachments in results
1 parent 7c4c83b commit 8412103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zotero.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function showUrl(url) {
100100
// Passes search URL and callbacks to CORS function
101101
function searchZotero(query, publicGroupId, start=0) {
102102
var base = "https://api.zotero.org/groups/";
103-
var params = "/items?v=3&include=bib&sort=date&q=";
103+
var params = "/items?v=3&include=bib&sort=date&itemType=-attachment&q=";
104104
var limit = "&limit=" + ZOTERO_CONFIG["limit"];
105105
start = "&start=" + start;
106106
var url = base + publicGroupId + params + query + limit + start;

0 commit comments

Comments
 (0)