|
|
@ -74,10 +74,4 @@ listTags(){ |
|
|
|
FROM tags LEFT JOIN links ON tags.id = links.tagID |
|
|
|
FROM tags LEFT JOIN links ON tags.id = links.tagID |
|
|
|
GROUP BY tags.id" | |
|
|
|
GROUP BY tags.id" | |
|
|
|
sqlite3 --column $header "${sqliteFile}" |
|
|
|
sqlite3 --column $header "${sqliteFile}" |
|
|
|
#echo "SELECT items.id,items.filename,items.title,items.type, |
|
|
|
|
|
|
|
#GROUP_CONCAT(tags.name,',') tags |
|
|
|
|
|
|
|
#FROM items LEFT JOIN links ON items.id = links.itemID |
|
|
|
|
|
|
|
#LEFT JOIN tags ON links.tagID = tags.id |
|
|
|
|
|
|
|
#GROUP BY items.id;" | |
|
|
|
|
|
|
|
# sqlite3 --column --header "${sqliteFile}" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|