|
@@ -1738,7 +1738,6 @@ function graphFetchData(node, nameSection) {
|
|
|
var filterIdGroup = getItemLocalStorage('Bocian.biAuditForm.'+nameSection+'.filterIdGroup');
|
|
|
|
|
|
var frm = document.getElementById('filtersFieldRemoveBtn-' + nameSection.toUpperCase()).form
|
|
|
- console.log('frm', frm)
|
|
|
var fieldNameList = ('pracownicy' === nameSection) ? FIELD_LIST_PRACOWNICY : FIELD_LIST_KONTRAHENCI
|
|
|
var filterFields = fieldNameList.filter(function (fieldName) {
|
|
|
if (!frm[fieldName] && DBG) console.log('Err missing field: "'+fieldName+'"')
|
|
@@ -1785,13 +1784,6 @@ function graphFetchData(node, nameSection) {
|
|
|
filterFields: filterFields,
|
|
|
ogcFilterFields: ogcFilterFields,
|
|
|
});
|
|
|
- console.log('graphFetchData...', {
|
|
|
- paginationLimit: paginationLimit,
|
|
|
- page: page,
|
|
|
- filterIdGroup: filterIdGroup,
|
|
|
- filterFields: filterFields,
|
|
|
- ogcFilterFields: ogcFilterFields,
|
|
|
- });
|
|
|
|
|
|
p5WFS_GetFeature('default_db__x3A__BI_audit_ENERGA_PRACOWNICY:BI_audit_ENERGA_PRACOWNICY',
|
|
|
Object.assign({
|
|
@@ -1909,8 +1901,8 @@ function graphRender(wrapNode, props) {
|
|
|
})
|
|
|
|
|
|
var totalLinks = _links.length
|
|
|
- console.log('DBG:0: _links', _links)
|
|
|
- console.log('DBG:1: _nodes', _nodes)
|
|
|
+ // console.log('DBG:0: _links', _links)
|
|
|
+ // console.log('DBG:1: _nodes', _nodes)
|
|
|
_nodes = _nodes.filter(function (node, idx) {
|
|
|
if (node.typeName !== 'pracownicy') return true
|
|
|
for (i=0; i<totalLinks; i++) {
|
|
@@ -1920,7 +1912,7 @@ function graphRender(wrapNode, props) {
|
|
|
}
|
|
|
return false
|
|
|
})
|
|
|
- console.log('DBG:2: _nodes', _nodes)
|
|
|
+ // console.log('DBG:2: _nodes', _nodes)
|
|
|
jQuery(wrapNode).find('p').remove()
|
|
|
if (!_nodes || !_nodes.length) {
|
|
|
jQuery(wrapNode).find('svg').remove()
|