#547 closed enhancement (fixed)
Sessions shortcode doesn't have order=asc
Reported by: | andywashere | Owned by: | iandunn |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | good-first-bug has-patch |
Cc: |
Description
The [sessions] shortcode currently does not allow you to sort with an ascending order. Even if you add order=asc, the sessions are still listed in descending order. This means that if you choose orderby=title, sessions are always display in reverse-alphabetical order.
Attachments (1)
Change History (8)
#4
@
10 years ago
- Owner set to iandunn
- Resolution set to fixed
- Status changed from new to closed
In 799:
This ticket was mentioned in PR #556 on WordPress/wporg-mu-plugins by @adamwood.
8 months ago
#6
- Keywords has-patch added
Fixes #547
I've decided to use absolute positioning so that the H2 can still be present in the markup. No visual changes.
### Testing
The ToC block is used on Documentation and Developer Resources. Using one of those local environments, or sandbox, switch mu-plugins to this branch.
- Open pages using the ToC, eg. Code Reference, Block Editor or Optimization
- On screens < 1200px wide with the ToC inline, the toggle button should fill the header.
- Expand and contract the ToC
- Check for regressions on large screens
Note: See
TracTickets for help on using
tickets.
meta-547.diff Add 'order' as a shortcode attribute, default to 'desc'.