Hello.

The module is very great thanks !

but we can't use the date flagged.

How to use it please ?

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Asterovim created an issue. See original summary.

milosr’s picture

Status: Active » Closed (works as designed)

@Asterovim

Hi, you can, for example, add a "changed" field in the view.

wranvaud’s picture

Title: Can't use date of flagged » Sort items based on the date it was flagged
Version: 8.x-1.4 » 2.0.0
Category: Bug report » Feature request
Priority: Major » Normal
Status: Closed (works as designed) » Active

It's a pretty common practice to sort favorite items based on the date the item was flagged. We want the most recent flagged item on top and the oldest flagged item at the bottom. This is not about the date of the item itself, when it was created or changed, it's about the flagging.
At the moment we can filter an item based on if it's flagged or not but we can't sort it based on the date it was flagged, this would be very much appreciated.
The date of flagging is in the database so I've achieved this with a hook_views_pre_render that queries the database and reorder results but it's not ideal.

sorabh.v6’s picture

Working on this.

sorabh.v6’s picture

Status: Active » Needs review

Code pushed and MR created. Needs review and if all's good then we can merge the code and close this issue.