Problem/Motivation

When using my sort view to update ordering clicking the [Save] button does not return a helpful message. The page reloads with the updated sort weight values but no success message is presented to user. This leads to confusion.

Steps to reproduce

Drupal 8.9.10 && Weight 3.2.0

Install and configure. Access your sorting view and see that moving items displays a "You have unsaved changes" message prompt. Click the [Save] button and see that no message is returned to user.

Proposed resolution

Add Drupal success message to the viewsFormSubmit() function.

Remaining tasks

I will provide a dev patch for discussion and review.

Comments

bygeoffthompson created an issue. See original summary.

bygeoffthompson’s picture

StatusFileSize
new533 bytes

Patch attached returns Drupal success message (with translatable text) "Your changes have been saved" after viewsFormSubmit()'s entity is saved.

Thank you

bygeoffthompson’s picture

Assigned: bygeoffthompson » Unassigned
Status: Active » Needs review

neslee canil pinto’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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