mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
fix tags indexing error after batch update
This commit is contained in:
parent
a73f270ca6
commit
76b6297a8a
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ defmodule Philomena.Images do
|
|||
|> case do
|
||||
{:ok, _} = result ->
|
||||
reindex_images(image_ids)
|
||||
Tags.reindex_tags(added_tags ++ removed_tags)
|
||||
Tags.reindex_tags(Enum.map(added_tags ++ removed_tags, &%{id: &1}))
|
||||
|
||||
result
|
||||
|
||||
|
|
Loading…
Reference in a new issue