HI,

I see there is a field album_weight, but i do not see a form field to enter or edit it.
See attached screenshot

Regards,

Hans

Comments

jhmnieuwenhuis created an issue. See original summary.

jhmnieuwenhuis’s picture

Issue summary: View changes
StatusFileSize
new29.35 KB
jhmnieuwenhuis’s picture

Issue summary: View changes
nathaniel’s picture

The album weight is set on the album-rearrange page (drag n' drop):
/photos/user/{user}/album-rearrange

It sets the album order on the albums page:
/photos/user/{user}/album

And can be used in views.

jhmnieuwenhuis’s picture

StatusFileSize
new21.74 KB
new59.2 KB

I looked at : photos/user/{user}/album

Strangely there is no album title on that page, so it is hard to recognize which is which.
I think you are displaying the content type Photos here /admin/structure/types/manage/photos )
and in my opinion this should be the Photos type ( admin/config/media/photos ).
That one has the title and the cover image, etc.

There is a link on this view : Rearrange albums
When i click that it shows an empty page, see attached screenshot.

Regards,
Hans

  • Nathaniel committed 331d530 on 8.x-5.x
    Issue #3127164 by Nathaniel: Fix album rearrange page. Some code cleanup...
nathaniel’s picture

This should be fixed now. There was a bug. Looks like it was skipping albums that didn't have a cover set because is was checking the old variable $cover_fid instead of the new one $cover_id. Included some other code cleanup in the last commit.

jhmnieuwenhuis’s picture

Thanks, the rearrange now works.

I still think the page : /photos/user/{album_id}/album does not provide enough info.
But i will create another issue for that.

Regards,
Hans

nathaniel’s picture

Title: Missing form field to enter album_weight » Albums missing on rearrange page and album_weight
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.