Skip to content

Commit 717dd8a

Browse files
committed
default Zotero item type to -attachment || note
1 parent f362e6c commit 717dd8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

complete.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ <h1>Complete User Interface Example</h1>
4040
<div class="input-block">
4141
<i class="fas fa-book"></i><label class="group-label" for="itemType">Item Type</label><br>
4242
<select class="search-input" name="itemType" id="itemType">
43-
<option value="-attachment">Any</option>
43+
<option value="-attachment || note">Any</option>
4444
<option value="journalArticle">Journal Article</option>
4545
<option value="book">Book</option>
4646
<option value="bookSection">Book Section</option>

zotero.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ function setSelectValue(elId, desiredValue) {
399399
// When the window loads, read query parameters and perform search
400400
window.onload = function () {
401401
var query = getParameterByName("q") || "";
402-
var itemTypeParam = getParameterByName("itemType") || "-attachment";
402+
var itemTypeParam = getParameterByName("itemType") || "-attachment || note";
403403
var expanded = Boolean(getParameterByName("expanded"));
404404
var pageStart = getParameterByName("start") || 0;
405405
var sortParam = getParameterByName("sort") || "date";

0 commit comments

Comments
 (0)