Hi Jesús,
Thanks for your reply. Unless there are some issues I haven't yet
discovered, I think I've worked out a simple way to do this. Here's
what I've done:
- Added a new link at the bottom of the Isdiah indexSuccess template
pointing to: ;add/isad?repository=<Repo-Slug>
- Added the following lines in the Isad editAction controller's
earlyExecute method:
if (isset($this->request->repository))
{
$params = $this->context->routing->parse(Qubit::pathInfo($this-
>request->repository));
$this->resource->repository = $params['_sf_route']->resource;
}
The repository is then pre-filled in the resulting form and the people
entering the ISAD(G) data won't have to touch it. I expect there's a
better, more robust, way to do it, but I think this will work for now.
Thanks,
Mike
On Feb 25, 1:58 am, Jesús García Crespo <
je...@artefactual.com> wrote:
> Hi Mike,
>
> Thank you for your suggestion. We have been received a similar user report
> before. I can find up to two related issues in our tracker:
>
>
http://code.google.com/p/qubit-toolkit/issues/detail?id=1922http://code.google.com/p/qubit-toolkit/issues/detail?id=1018