{"action":"created","issue":{"url":"https://api.github.com/repos/redmatrix/hubzilla/issues/163","labels_url":"https://api.github.com/repos/redmatrix/hubzilla/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/redmatrix/hubzilla/issues/163/comments","events_url":"https://api.github.com/repos/redmatrix/hubzilla/issues/163/events","html_url":"https://github.com/redmatrix/hubzilla/issues/163","id":117668997,"number":163,"title":"Add sort order to photo album widget","user":{"login":"kenrestivo","id":108085,"avatar_url":"https://avatars.githubusercontent.com/u/108085?v=3","gravatar_id":"","url":"https://api.github.com/users/kenrestivo","html_url":"https://github.com/kenrestivo","followers_url":"https://api.github.com/users/kenrestivo/followers","following_url":"https://api.github.com/users/kenrestivo/following{/other_user}","gists_url":"https://api.github.com/users/kenrestivo/gists{/gist_id}","starred_url":"https://api.github.com/users/kenrestivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenrestivo/subscriptions","organizations_url":"https://api.github.com/users/kenrestivo/orgs","repos_url":"https://api.github.com/users/kenrestivo/repos","events_url":"https://api.github.com/users/kenrestivo/events{/privacy}","received_events_url":"https://api.github.com/users/kenrestivo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-18T20:01:30Z","updated_at":"2015-11-18T22:21:37Z","closed_at":null,"body":"Says Mike\r\n```\r\nThe sort order (which got edited out) is another example of a ten minute job for somebody with really basic code skills.\r\n```\r\nIf there were a \"newbie\" tag in the project issues on github, this could be tagged with it."},"comment":{"url":"https://api.github.com/repos/redmatrix/hubzilla/issues/comments/157883495","html_url":"https://github.com/redmatrix/hubzilla/issues/163#issuecomment-157883495","issue_url":"https://api.github.com/repos/redmatrix/hubzilla/issues/163","id":157883495,"user":{"login":"kenrestivo","id":108085,"avatar_url":"https://avatars.githubusercontent.com/u/108085?v=3","gravatar_id":"","url":"https://api.github.com/users/kenrestivo","html_url":"https://github.com/kenrestivo","followers_url":"https://api.github.com/users/kenrestivo/followers","following_url":"https://api.github.com/users/kenrestivo/following{/other_user}","gists_url":"https://api.github.com/users/kenrestivo/gists{/gist_id}","starred_url":"https://api.github.com/users/kenrestivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenrestivo/subscriptions","organizations_url":"https://api.github.com/users/kenrestivo/orgs","repos_url":"https://api.github.com/users/kenrestivo/repos","events_url":"https://api.github.com/users/kenrestivo/events{/privacy}","received_events_url":"https://api.github.com/users/kenrestivo/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T22:21:37Z","updated_at":"2015-11-18T22:21:37Z","body":"I know nothing about photo  albums, but know enough PHP and enough Hubzilla to have been able to trace this down to probably here:\r\nhttps://github.com/redmatrix/hubzilla/blob/93e5449c0843494c49ae799fa044299ca5cdeb6d/include/widgets.php#L687\r\n\r\nFollowing that trail leads here:\r\n\r\nhttps://github.com/redmatrix/hubzilla/blob/93e5449c0843494c49ae799fa044299ca5cdeb6d/include/photos.php#L465\r\n\r\nAnd, finally, it seems the list of albums comes from here:\r\nhttps://github.com/redmatrix/hubzilla/blob/93e5449c0843494c49ae799fa044299ca5cdeb6d/include/photos.php#L425\r\n\r\nIf you're trying to sort them, learning some SQL would let you edit that SELECT query to perhaps sort them. If you're trying to sort the pictures in the album, I don't know where in Hubzilla that's done.\r\n\r\nIf you already know javascript, PHP is not to hard to learn. SQL is a different beast, but its basics not too hard to learn either."}}