Piwigo Bugtracker

Viewing Issue Advanced Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002345 [Piwigo] web API minor N/A 2011.06.14 15:50 2011.06.14 15:54
Reporter plg View Status public  
Assigned To plg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 2.2.4 Product Version 2.2.3
  Target Version 2.2.4 Product Build
Summary 0002345: ability to update the rank of a photo for an existing album
Description If 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.
Steps To Reproduce
Additional Information
Tags No tags attached.
browser any
Database engine and version
PHP version
Web server Apache 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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Contact
Powered by Mantis Bugtracker