Skip to content

Commit

Permalink
revert tagMenu.xml and query.js changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wagle committed Aug 23, 2013
1 parent 6aa46fe commit 5656c21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions content/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -1223,8 +1223,8 @@ BookmarkTags.Query= function ()
"folders.parent != ",
BookmarkTags.Util.bmServ.tagsFolder, " ",
"GROUP BY bms.id ",
"ORDER BY ", "'" + query.bmSort + "'", " COLLATE NOCASE ", query.bmSortDir,
", 'title' COLLATE NOCASE ASC"
"ORDER BY ", query.bmSort, " COLLATE NOCASE ", query.bmSortDir,
", title COLLATE NOCASE ASC"
].join("");
}

Expand Down Expand Up @@ -1256,9 +1256,9 @@ BookmarkTags.Query= function ()
"FROM (", sql, ") AS t, moz_bookmarks AS tags ",
"WHERE t.tagid = tags.id ",
"GROUP BY id ",
"ORDER BY ", "'" + query.relTagSort + "'",
"ORDER BY ", query.relTagSort,
" COLLATE NOCASE ", query.relTagSortDir, ", ",
"'title' COLLATE NOCASE ASC"
"title COLLATE NOCASE ASC"
].join("");
}

Expand Down
4 changes: 2 additions & 2 deletions content/tagMenu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@
BookmarkTags.Util.bmServ.tagsFolder, " AND ",
"t.id = bms.parent ",
"GROUP BY t.id ",
"ORDER BY ", prefix, ", ", "'", sort[0], "'", " COLLATE NOCASE ", sort[1]
"ORDER BY ", prefix, ", ", sort[0], " COLLATE NOCASE ", sort[1]
].join("");
}
Expand Down Expand Up @@ -573,7 +573,7 @@
") AND ",
"bms.parent = t.id ",
"GROUP BY t.id ",
"ORDER BY ", prefix, ", ", "'", sort[0], "'", " COLLATE NOCASE ", sort[1]
"ORDER BY ", prefix, ", ", sort[0], " COLLATE NOCASE ", sort[1]
].join("");
}
Expand Down

0 comments on commit 5656c21

Please sign in to comment.