Skip to content

The container list block shouldn't hardcode the object path #84

@ctgraham

Description

@ctgraham

The jstreebuilder hardcodes the reference to the object's URL when building the tree:

$to_return['a_attr']['href'] = url("islandora/object/{$this->object->id}", array('fragment' => $to_return['id']));

But this block will be rendered on the page displaying that object, and the page could be arbitrarily aliased.

If aliased, these links will redirect to the /islandora/object/path unnecessarily, rather than creating a self-referential anchor, as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions