BUG 10699 Databases Source list no tiene search SOLVED

- Missing filter field in the list
- Added filter field to the list
This commit is contained in:
Julio Cesar Laura
2013-02-07 11:01:04 -04:00
parent 6786b5d069
commit c080eaa8d3
8 changed files with 55 additions and 33 deletions

View File

@@ -5,6 +5,7 @@
<en>New</en>
</MNU_ADD>
<PAGED_TABLE_ID type="private"/>
<PAGED_TABLE_FAST_SEARCH type="FastSearch" label="@G::LoadTranslation(ID_SEARCH)"/>
<PRO_UID type="private"/>
<inputdocsEdit type="private" defaultValue="../inputdocs/inputdocs_Edit"/>
@@ -22,7 +23,7 @@ var currentPagedTable = @#PAGED_TABLE_ID;
sw = sw && (getField('INP_DOC_TITLE').value!='');
return sw;
}
function inputdocsSave( form ) {
function inputdocsSave( form ) {
var nameInput = getField('INP_DOC_TITLE').value;
var proUid = getField('PRO_UID').value;
if(getField('INP_DOC_UID').value==''){
@@ -49,10 +50,10 @@ var currentPagedTable = @#PAGED_TABLE_ID;
}
}
function inputdocsDelete( uid ) {
result = ajax_function('@G::encryptlink(@#inputdocsDelete)','getRelationInfDoc','INP_DOC_UID='+uid,'POST');
labelToshow = (result)?'@G::LoadTranslation(ID_MSG_CONFIRM_DELETE_IDOCUMENT)':'@G::LoadTranslation(ID_MSG_CONFIRM_DELETE_DOCUMENT)';
new leimnud.module.app.confirm().make({
label:labelToshow,
action:function()

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<dynaForm sqlConnection="" menu="inputdocs/inputdocs_Options" width="100%" rowsPerPage="10">
<dynaForm sqlConnection="" menu="inputdocs/inputdocs_Options" width="100%" rowsPerPage="10" searchBy="INP_DOC_TITLE">
<INP_DOC_UID type="hidden" showInTable="0"/>
@@ -26,4 +26,4 @@ function pagedTableFilter(form) {
}
</JSFILTER>
</dynaForm>
</dynaForm>