Summary | Store image count |
Queue | Ansel |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | duck (at) obala (dot) net |
Created | 02/04/2008 (6333 days ago) |
Due | |
Updated | 02/05/2008 (6332 days ago) |
Assigned | 02/04/2008 (6333 days ago) |
Resolved | 02/04/2008 (6333 days ago) |
Milestone | |
Patch | No |
changes. Anyway, fixed the select statement and also fixed an issue
that was preventing the image counts from actually being updated in
the DB on image addition. The database was updated, but we were not
setting our local copy of the data, so that when we call
Ansel_Gallery::set() later on to set the last_modified time, it was
being over written with the old value.
New Attachment: Ansel-images.diff
upgrade scripts and neccesary change to the ansel.sql creation script.
Without it the galleries list shows no images.
State ⇒ Resolved
upgrade scripts and neccesary change to the ansel.sql creation script.
Thanks!
New Attachment: 2008_02_02_image_count.php
it should be.
State ⇒ Assigned
Assigned to Michael Rubinsky
Counts), not ImagesCount, and we need an upgrade script to set the
initial values.
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Store image count
Queue ⇒ Ansel
New Attachment: Ansel.diff
State ⇒ New
means at least 9 additional queries par page (for pref default, and no
gallery has no sub-gallery, otherwise even more). Avoid this, update
the number of images into gallery_images column when images are
manipulated.