Count Filter by Logged In User

Hi guys, the idea I would like to do is simple. I’d like to create a shortcut in the workspace but I’d like to filter it by the currently logged-in user. Is there a way to do it?

i have the same idea too,did you find out the way?

and is me again.
i achieve this by modified database.
like this:

hope this can help you.

Hi , could you please elaborate more about how you did it, I have similar customization want to apply filter on workspace shortcut according to logged in user allocated to in to do

In workspace, in shortcuts table, you can do as below:

This count filter field is hidden by default, you’ll have to unhide it.

thank you for reply , in version 15 , the filed name in todo doctype is “allocated_to” so i should only modify your condition according to that right ??

Actually its a field in the doctype itself. Every doctype has a field “_assign” by default, storing an array of all assigned users. if you want to set the filter like, owner of the document you can do as follows:
“owner”:frappe.session.user

1 Like