Commit 52aa4d9c1bc04a79b38cf9f86df6993135c50c70
1 parent
54ea8f98
Modified Advanced Search templates to show options for large text search
KTC-826: When selecting to search on the Large Text fields on the 'Available Fieldsets' dropdown the field appears incorrect. Fixed Committed by: Paul Barrett
Showing
2 changed files
with
4 additions
and
2 deletions
plugins/multiselect/templates/ktcore/search2/adv_query_builder.smarty
| ... | ... | @@ -429,6 +429,7 @@ function createText(groupid, fid, type) |
| 429 | 429 | html += "<option value=\"is not\">{/literal}{i18n}is not{/i18n}{literal}"; |
| 430 | 430 | break; |
| 431 | 431 | case 'STRING': |
| 432 | + case 'LARGE TEXT': | |
| 432 | 433 | html += "<option value=\"is\">{/literal}{i18n}is{/i18n}{literal}"; |
| 433 | 434 | html += "<option value=\"is not\">{/literal}{i18n}is not{/i18n}{literal}"; |
| 434 | 435 | html += "<option value=\"contains\">{/literal}{i18n}contains{/i18n}{literal}"; |
| ... | ... | @@ -496,7 +497,7 @@ function addFieldTypeSelection(groupid, fid, type, options) |
| 496 | 497 | } |
| 497 | 498 | // want to fall through |
| 498 | 499 | case 'FULLTEXT': |
| 499 | - | |
| 500 | + case 'LARGE TEXT': | |
| 500 | 501 | case 'STRINGMATCH': |
| 501 | 502 | html = createText(groupid, fid, type); |
| 502 | 503 | break; | ... | ... |
templates/ktcore/search2/adv_query_builder.smarty
| ... | ... | @@ -382,6 +382,7 @@ function createText(groupid, fid, type) |
| 382 | 382 | html += "<option value=\"is not\">{/literal}{i18n}is not{/i18n}{literal}"; |
| 383 | 383 | break; |
| 384 | 384 | case 'STRING': |
| 385 | + case 'LARGE TEXT': | |
| 385 | 386 | html += "<option value=\"is\">{/literal}{i18n}is{/i18n}{literal}"; |
| 386 | 387 | html += "<option value=\"is not\">{/literal}{i18n}is not{/i18n}{literal}"; |
| 387 | 388 | html += "<option value=\"contains\">{/literal}{i18n}contains{/i18n}{literal}"; |
| ... | ... | @@ -449,7 +450,7 @@ function addFieldTypeSelection(groupid, fid, type, options) |
| 449 | 450 | } |
| 450 | 451 | // want to fall through |
| 451 | 452 | case 'FULLTEXT': |
| 452 | - | |
| 453 | + case 'LARGE TEXT': | |
| 453 | 454 | case 'STRINGMATCH': |
| 454 | 455 | html = createText(groupid, fid, type); |
| 455 | 456 | break; | ... | ... |