* {di} binding now always returns the duplicate indenity index 1..n and will never unwind
This commit is contained in:
parent
cc425ba66f
commit
1fcdd21837
|
@ -788,8 +788,7 @@ public class MediaBindingBean {
|
|||
duplicates.add(it);
|
||||
}
|
||||
}
|
||||
int di = identityIndexOf(duplicates, getInfoObject());
|
||||
return di == 0 ? null : di;
|
||||
return 1 + identityIndexOf(duplicates, getInfoObject());
|
||||
}
|
||||
|
||||
@Define("self")
|
||||
|
|
Loading…
Reference in New Issue