Skip to content

Commit

Permalink
Index item comparison fix
Browse files Browse the repository at this point in the history
Signed-off-by: AbstractionFactory <[email protected]>
  • Loading branch information
abstractionfactory committed Dec 2, 2024
1 parent 530ec95 commit 8f4e95f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/internal/search/searchtypes/index_item.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ type IndexItem struct {

func (i IndexItem) Equals(other IndexItem) bool {
if i.ID != other.ID || i.Type != other.Type || i.Addr != other.Addr || i.Version != other.Version ||
i.Title != other.Title || i.Description != other.Description || i.ParentID != other.ParentID || i.Popularity != other.Popularity {
i.Title != other.Title || i.Description != other.Description || i.ParentID != other.ParentID ||
i.Popularity != other.Popularity || i.Warnings != other.Warnings {
return false
}
if len(i.LinkVariables) != len(other.LinkVariables) {
Expand Down

0 comments on commit 8f4e95f

Please sign in to comment.