Commit 0c63549fa30a812e937310000505d0fb5c8ecc5e
1 parent
79e9e882
Rendering edit correctly (respecting subgroup JOINs)
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5884 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
templates/ktcore/boolean_search_change.smarty
| @@ -67,13 +67,13 @@ legend { border: 1px dotted #999;} | @@ -67,13 +67,13 @@ legend { border: 1px dotted #999;} | ||
| 67 | 67 | ||
| 68 | <p class="helpText">{i18n arg_options=$options}Return items which match #options# of the <strong>criteria groups</strong> specified.{/i18n}</p> | 68 | <p class="helpText">{i18n arg_options=$options}Return items which match #options# of the <strong>criteria groups</strong> specified.{/i18n}</p> |
| 69 | 69 | ||
| 70 | - {foreach item=aSubgroup from=$aSearch.subgroup} | 70 | + {foreach item=aSubgroup key=iKey from=$aSearch.subgroup} |
| 71 | 71 | ||
| 72 | <fieldset> | 72 | <fieldset> |
| 73 | <legend>{i18n}Criteria Group{/i18n}</legend> | 73 | <legend>{i18n}Criteria Group{/i18n}</legend> |
| 74 | 74 | ||
| 75 | {capture assign=options} | 75 | {capture assign=options} |
| 76 | - <select name="boolean_search[subgroup][0][join]"><option value="AND"{if ($aSubgroup.join == 'AND')} selected="true"{/if}>{i18n}all{/i18n}</option><option value="OR"{if ($aSubgroup.join == 'OR')} selected="true"{/if}>{i18n}any{/i18n}</option></select> | 76 | + <select name="boolean_search[subgroup][{$iKey}][join]"><option value="AND"{if ($aSubgroup.join == 'AND')} selected="true"{/if}>{i18n}all{/i18n}</option><option value="OR"{if ($aSubgroup.join == 'OR')} selected="true"{/if}>{i18n}any{/i18n}</option></select> |
| 77 | {/capture} | 77 | {/capture} |
| 78 | 78 | ||
| 79 | <p class="helpText">{i18n arg_options=$options}Return items which match #options# of the criteria specified.{/i18n}</p> | 79 | <p class="helpText">{i18n arg_options=$options}Return items which match #options# of the criteria specified.{/i18n}</p> |