| Anonymous | Login | Signup for a new account | 2013.05.26 10:22 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| 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 | |||||||
|
|
|||||||
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. |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group Contact |