Changeset 56
- Timestamp:
- 04/05/07 05:08:33 (1 year ago)
- Files:
-
- trunk/Memories/SystemTag.pm (modified) (1 diff)
- trunk/Memories/Tag.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Memories/SystemTag.pm
r2 r56 7 7 Memories::Photo->set_sql(sorted_by_system_tag => q/ 8 8 SELECT photo.id as id, title, uploader, uploaded, x, y 9 FROM photo, system_tag , system_tagging9 FROM photo, system_tagging 10 10 WHERE system_tagging.photo = photo.id 11 AND system_tagging.tag = system_tag.id 12 AND system_tag.id = ? 11 AND system_tagging.tag = ? 13 12 ORDER BY photo.uploaded DESC 14 13 / trunk/Memories/Tag.pm
r47 r56 6 6 Memories::Photo->set_sql(sorted_by_tag => q/ 7 7 SELECT photo.id as id, title, uploader, uploaded, x, y 8 FROM photo, tag , tagging8 FROM photo, tagging 9 9 WHERE tagging.photo = photo.id 10 AND tagging.tag = tag.id 11 AND tag.id = ? 10 AND tagging.tag = ? 12 11 ORDER BY photo.uploaded DESC 13 12 /
