mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
basic UI for row editing
This commit is contained in:
parent
3ea920c1f8
commit
32e1b4c3fd
13 changed files with 248 additions and 65 deletions
|
@ -32,12 +32,12 @@ module.exports = async (req, res) => {
|
|||
{
|
||||
...criteria,
|
||||
},
|
||||
'_id title distance owner updated_at',
|
||||
'_id title distance owner updated_at is_public',
|
||||
{
|
||||
limit: 500,
|
||||
sort: { updated_at: -1 },
|
||||
}
|
||||
).populate('owner');
|
||||
).populate('owner', '_id');
|
||||
|
||||
list = list.filter(item => (
|
||||
!author || item.owner._id === author
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue