Skip to content
This repository was archived by the owner on Dec 24, 2021. It is now read-only.
This repository was archived by the owner on Dec 24, 2021. It is now read-only.

History: include page args #177

Description

@gedtn

The opportunity

When adding history, the History::add only picks up $_SERVER['REQUEST_URI'], which does not include any page arguments, such as filters. One example was listing tasks from task group, the group id was in the url as an argument, but the history was task/tasklist, so when you clicked on the history the task list is not the original view.

Proposal

Add a new optional parameter to History::add, where you can supply the arguments for the page. In the case of viewing tasks from task group, the tasklist would be able to determine the nature of the view, add an appropriate description to the history as well as the page args. The key is to be able, where required, differentiate between different views of the the same page, so you would need to make sure that views with args are appropriately identified (in the history label).

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions