Default to previous condition when creating new advanced search row
Fixes #1533
This commit is contained in:
parent
1c47d21937
commit
28aa86eb79
1 changed files with 8 additions and 1 deletions
|
@ -812,7 +812,14 @@
|
||||||
<body>
|
<body>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
if (this.parent){
|
if (this.parent){
|
||||||
this.parent.addCondition();
|
let ref = this.parent.search.getCondition(
|
||||||
|
this.parent.search.addCondition(
|
||||||
|
this.id('conditionsmenu').value,
|
||||||
|
this.id('operatorsmenu').value,
|
||||||
|
""
|
||||||
|
)
|
||||||
|
)
|
||||||
|
this.parent.addCondition(ref);
|
||||||
window.sizeToContent();
|
window.sizeToContent();
|
||||||
}
|
}
|
||||||
]]>
|
]]>
|
||||||
|
|
Loading…
Reference in a new issue