Problem/Motivation

At the moment, the main operation in the order list UI is 'Edit', but site admins (or customer support folks) more likely need to view the order instead, because the View page gives a lot more information about the current status of the order (comments, activity, etc.).

Proposed resolution

Add a View operation in \Drupal\commerce_order\OrderListBuilder::getDefaultOperations() and make it the default.

Remaining tasks

Review.

User interface changes

The default operation for orders will be View instead of Edit.

Before:

After:

API changes

Nope.

Data model changes

Nope.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

amateescu created an issue. See original summary.

amateescu’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
770 bytes
55.96 KB
56.08 KB

This should do it :)

s.messaris’s picture

Status: Needs review » Reviewed & tested by the community

I find this very useful as well, simple patch that works great, setting to RTBC.

  • jsacksick committed 69705b8 on 8.x-2.x authored by amateescu
    Issue #3164630 by amateescu: Add "View" as the default operation for...
jsacksick’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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