Changeset 5978
- Timestamp:
- 05/11/07 12:47:51 (2 years ago)
- Files:
-
- trunk/src/org.routamc.gallery/config/mgdschema.sql (modified) (1 diff)
- trunk/src/org.routamc.gallery/config/mgdschema.xml (modified) (1 diff)
- trunk/src/org.routamc.gallery/documentation/CHANGES (modified) (1 diff)
- trunk/src/org.routamc.gallery/handler/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/org.routamc.gallery/config/mgdschema.sql
r4404 r5978 11 11 KEY org_routamc_gallery_photolink_photo_idx (photo) 12 12 ); 13 ALTER TABLE org_routamc_gallery_photolink ADD COLUMN cencored int(11) NOT NULL default 0; 14 CREATE INDEX org_routamc_gallery_photolink_cencored_idx on org_routamc_gallery_photolink (cencored); 13 14 # Change the misspelled column name 15 ALTER TABLE org_routamc_gallery_photolink CHANGE COLUMN cencored censored int(11) NOT NULL default 0; 16 17 # Try to create censored column if it doesn't exist 18 ALTER TABLE org_routamc_gallery_photolink ADD COLUMN censored int(11) NOT NULL default 0; 19 20 # Add backwards support for Midgard v1.7 branch 21 ALTER TABLE org_routamc_gallery_photolink ADD COLUMN score int(11) NOT NULL default 0; 22 CREATE INDEX org_routamc_gallery_photolink_censored_idx on org_routamc_gallery_photolink (censored); trunk/src/org.routamc.gallery/config/mgdschema.xml
r5900 r5978 5 5 <property name="node" link="midgard_topic:id" reverse="no" type="integer" parentfield="node"/> 6 6 <property name="photo" link="org_routamc_photostream_photo:id" reverse="no" type="integer"/> 7 <property name="cencored" type="integer" /> 7 <property name="censored" type="integer" /> 8 <property name="score" type="integer" /> 8 9 </type> 9 10 </Schema> trunk/src/org.routamc.gallery/documentation/CHANGES
r4795 r5978 4 4 Legend: 5 5 - All items marked with "!" represent a major API-Change that is 6 not gu ranteed to be backwards compatible to previous versions6 not guaranteed to be backwards compatible to previous versions 7 7 which might even break existing functionality. 8 8 - All items marked with "+" represent completly new features. 9 10 2007-05-11 adrenalin 11 ! Changed misspelled property `cencored` to `censored`. This property isn't probably in real use, but 12 might break backwards compatibility 13 - Started to work on sorting feature for photos 9 14 10 15 2006-11-12 rambo trunk/src/org.routamc.gallery/handler/index.php
r5533 r5978 64 64 65 65 // FIXME: This property should be rethought 66 $qb->add_constraint('cen cored', '=', 0);66 $qb->add_constraint('censored', '=', 0); 67 67 68 68 foreach ($this->_config->get('index_order') as $ordering) … … 130 130 131 131 // FIXME: This property should be rethought 132 $qb->add_constraint('cen cored', '=', 0);132 $qb->add_constraint('censored', '=', 0); 133 133 134 134 $photolinks = $qb->execute();
