admin/sync: Able to filter on the second column
This commit is contained in:
parent
3d35cee67d
commit
7b2603afb0
2 changed files with 23 additions and 1 deletions
|
@ -118,7 +118,7 @@ func buildLabelFlag(exercice *fic.Exercice, flag ExerciceFlag, flagline int, exc
|
|||
|
||||
// Call checks hooks
|
||||
for _, h := range hooks.flagLabelHooks {
|
||||
for _, e := range h(f, exceptions) {
|
||||
for _, e := range h(f, exceptions.Filter2ndCol(strconv.Itoa(flagline))) {
|
||||
errs = append(errs, NewFlagError(exercice, &flag, flagline, e))
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue