Year part of title/creator/year search worked only if month/day were set

This commit is contained in:
Dan Stillman 2011-12-06 18:01:28 -05:00
parent 3349acc747
commit b43ce3254d

View file

@ -2148,7 +2148,7 @@ Zotero.SearchConditions = new function(){
doesNotContain: true doesNotContain: true
}, },
table: 'itemData', table: 'itemData',
field: 'STRFTIME("%Y", SUBSTR(value, 1, 10))', field: 'SUBSTR(value, 1, 4)',
special: true special: true
}, },