Problem/Motivation

The "Scheduled Media" local tab is shown first when on /admin/content/media, for content it is shown last, which makes more sense.

Steps to reproduce

Install scheduler, media and media_library, set gin as admin theme and go to /admin/content/media.

Proposed resolution

Change weight of local task.

Issue fork scheduler-3412854

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

uniquename created an issue. See original summary.

uniquename’s picture

Title: Order of media local task » Order of "Scheduled Media" local task
jonathan1055’s picture

StatusFileSize
new111.67 KB
new110.63 KB

Hi uniquename
What theme are you using? I have checked this with Claro, the default admin theme for D10. The current setting of 5 is enough to put the 'scheduled media' tab to the right of the 'overview'. In fact weight 1 is OK, but weight 0 puts it to the left. See screen shots.
Jonathan

uniquename’s picture

StatusFileSize
new14.28 KB

Oh sorry, forgot to mention, I'm on gin.

With 19 it is in the middle, see screenshot, with 20 it's on the right there.

uniquename’s picture

Title: Order of "Scheduled Media" local task » Order of "Scheduled Media" local task with gin theme
jonathan1055’s picture

StatusFileSize
new148.79 KB

I've not used that, but it looks great! Just installed but it looks like you also have some other customisations? My Media tab has 'Overview' first followed by 'Scheduled media'. I do not see 'table' and 'grid'. What did you do to get those?

jonathan1055’s picture

Ah OK, got it. It is Media Library. I now do see the scheduled tab first.

uniquename’s picture

Issue summary: View changes

jonathan1055’s picture

Status: Active » Fixed

Thank you for this.
I set the weight to 30 because the Grid was 20.
Committed and fixed.

Status: Fixed » Closed (fixed)

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