The individual commits show more detail about the modifications:
after Undo, the HTML is now properly updated with the new revisions;
$this->crud->listRevisions($id) did NOT exists in Backpack 4.1 and the name was too similar to ReviseOperation::listRevisions() (which actually lists the revisions), so I created a new method, getRevisionsForEntry($id), directly on the CrudPanel object using a macro; this allows us to call this method anytime anywhere inside the Revise operation, and its name is considerably different from the controller action;
Fixes #2
The individual commits show more detail about the modifications:
$this->crud->listRevisions($id)
did NOT exists in Backpack 4.1 and the name was too similar toReviseOperation::listRevisions()
(which actually lists the revisions), so I created a new method,getRevisionsForEntry($id)
, directly on the CrudPanel object using a macro; this allows us to call this method anytime anywhere inside the Revise operation, and its name is considerably different from the controller action;