mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-03-19 02:07:14 +01:00
Add more clarity for why the -1
decision was made
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
This commit is contained in:
parent
b2897187ab
commit
db54e1be3a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ defmodule Philomena.Autocomplete.Generator do
|
||||||
|
|
||||||
// If >=0 then this tag is canonical and the `meta` is the number of images with this tag
|
// If >=0 then this tag is canonical and the `meta` is the number of images with this tag
|
||||||
//
|
//
|
||||||
// If <0 then the following calculation: `-meta - 1` and will give the index
|
// If <0 then `-meta - 1` (to allow 0 as a possibility for the target) will give the index
|
||||||
// of a `tag_reference` for the canonical tag aliased by this one
|
// of a `tag_reference` for the canonical tag aliased by this one
|
||||||
// in the `primary_references` array
|
// in the `primary_references` array
|
||||||
int32_t meta;
|
int32_t meta;
|
||||||
|
|
Loading…
Add table
Reference in a new issue