www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 6918757b8b8d98c9752ce6052928239c832c485c
parent e5b25a966b7984beee1c7f746ed49b3424bcc676
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 23 May 2006 21:39:23 +0000

Accept singular or plural ('item'/'items' or 'folder'/'folders') for type parameter in getTreeRows()


Diffstat:
Mchrome/chromeFiles/content/scholar/data_access.js | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/chrome/chromeFiles/content/scholar/data_access.js b/chrome/chromeFiles/content/scholar/data_access.js @@ -921,9 +921,11 @@ Scholar.Items = new function(){ switch (type){ case 'folder': + case 'folders': sql += ' AND isFolder=1'; break; case 'item': + case 'items': sql += ' AND isFolder=0'; break; }