Zwischenstand
This commit is contained in:
parent
508d3d2759
commit
bb12a00ef5
@ -87,7 +87,9 @@ class BookmarkController extends AbstractController
|
||||
|
||||
$user = $this->getCurrentUser();
|
||||
$this->bookmarkRepository->removeByUserTablenameObjectUid($user['uid'], $tablename, $objectUid);
|
||||
$this->forward('personalList');
|
||||
|
||||
$this->redirectToUri($this->uriBuilder->reset()->buildFrontendUri());
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -48,6 +48,7 @@ class BookmarkRepository extends Repository
|
||||
$this->remove($obj);
|
||||
}
|
||||
|
||||
$this->persistenceManager->persistAll();
|
||||
}
|
||||
|
||||
|
||||
|
@ -9,8 +9,8 @@
|
||||
<ul>
|
||||
<f:for each="{bookmarks}" as="bookmark">
|
||||
<li>
|
||||
<span><f:link.action action="delete" arguments="{object_uid:bookmark.object_uid, tablename: bookmark.tablename}">[Löschen]</f:link.action></span>
|
||||
<a href="{bookmark.url}">{bookmark.title}</a>
|
||||
<span class="" style="float: right;"><f:link.action action="delete" arguments="{objectUid:bookmark.object_uid,tablename:bookmark.tablename}">[Löschen]</f:link.action></span>
|
||||
</li>
|
||||
</f:for>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user