Piwigo Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002345Piwigoweb APIpublic2011.06.14 15:502011.06.14 15:54
Reporterplg 
Assigned Toplg 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.2.3 
Target Version2.2.4Fixed in Version2.2.4 
Summary0002345: ability to update the rank of a photo for an existing album
DescriptionIf the photo doesn't already belong to the album, then pwg.images.setInfo is fine, just send categories=677,12 and your photo will have rank 12 in album 677. But this doesn't update the rank if the photo already belongs to this album.

To avoid any regression, I prefer to add a new dedicated method pwg.images.setRank which cleanly takes 3 arguments: image_id, category_id, rank.
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0005236)
svn (reporter)
2011.06.14 15:53

[Subversion] r11371 by plg on branch 2.2

-----[Subversion commit log]----------------------------------------------------
bug 2345 fixed: ability to update the rank of a photo for an existing
category. I haven't modified pwg.images.setInfo, I've just added a new
method pwg.images.setRank which does this very specific job.
(0005237)
svn (reporter)
2011.06.14 15:54

[Subversion] r11372 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r11371 from branch 2.2 to trunk

bug 2345 fixed: ability to update the rank of a photo for an existing
category. I haven't modified pwg.images.setInfo, I've just added a new
method pwg.images.setRank which does this very specific job.


- Issue History
Date Modified Username Field Change
2011.06.14 15:50 plg New Issue
2011.06.14 15:50 plg Status new => assigned
2011.06.14 15:50 plg Assigned To => plg
2011.06.14 15:50 plg browser => any
2011.06.14 15:50 plg Web server => Apache 1.3.x
2011.06.14 15:52 plg Severity feature => minor
2011.06.14 15:53 svn Checkin
2011.06.14 15:53 svn Note Added: 0005236
2011.06.14 15:54 svn Checkin
2011.06.14 15:54 svn Note Added: 0005237
2011.06.14 15:54 plg Status assigned => closed
2011.06.14 15:54 plg Resolution open => fixed
2011.06.14 15:54 plg Fixed in Version => 2.2.4


Copyright © 2000 - 2015 MantisBT Team
Contact
Powered by Mantis Bugtracker