mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
mark read and go to next now in the right direction
This commit is contained in:
parent
e139258bb1
commit
8a66458ba2
2 changed files with 2 additions and 2 deletions
|
@ -315,7 +315,7 @@ class Poche
|
|||
}
|
||||
break;
|
||||
case 'archive_and_next' :
|
||||
$nextid = $this->store->getNextArticle($id, $this->user->getId());
|
||||
$nextid = $this->store->getPreviousArticle($id, $this->user->getId());
|
||||
$this->store->archiveById($id, $this->user->getId());
|
||||
Tools::logm('archive link #' . $id);
|
||||
Tools::redirect('?view=view&id=' . $nextid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue