Patch level : 10.0 502
Files correlati : ve0.exe Ricompilazione Demo : [ ] Commento ipristinato il fiiltro per articolo git-svn-id: svn://10.65.10.50/trunk@19578 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c675dcd8f6
commit
9ed34acdd8
@ -2442,6 +2442,7 @@ void TDocument_tree::set_cursor(char tipocf, long codcf, int anno, const char* f
|
|||||||
_cursor->setfilter(""); // Force cursor rebuild
|
_cursor->setfilter(""); // Force cursor rebuild
|
||||||
_cursor->setfilter(filter);
|
_cursor->setfilter(filter);
|
||||||
_cursor->setregion(rec, rec);
|
_cursor->setregion(rec, rec);
|
||||||
|
_cursor->set_filterfunction(ff);
|
||||||
const long items = _cursor->items();
|
const long items = _cursor->items();
|
||||||
_cursor->freeze(true);
|
_cursor->freeze(true);
|
||||||
|
|
||||||
@ -2918,7 +2919,7 @@ TElaborazione * TElabora_mask::curr_elab()
|
|||||||
|
|
||||||
bool TElabora_mask::article_filter(const TRelation* rel)
|
bool TElabora_mask::article_filter(const TRelation* rel)
|
||||||
{
|
{
|
||||||
bool yes = FALSE;
|
bool yes = false;
|
||||||
TElabora_mask& m = *_myself;
|
TElabora_mask& m = *_myself;
|
||||||
TLocalisamfile rdoc(LF_RIGHEDOC);
|
TLocalisamfile rdoc(LF_RIGHEDOC);
|
||||||
rdoc.put(RDOC_CODNUM, rel->curr().get(DOC_CODNUM));
|
rdoc.put(RDOC_CODNUM, rel->curr().get(DOC_CODNUM));
|
||||||
@ -2937,7 +2938,7 @@ bool TElabora_mask::article_filter(const TRelation* rel)
|
|||||||
const TString& codart = rdoc.get(RDOC_CODART);
|
const TString& codart = rdoc.get(RDOC_CODART);
|
||||||
if (!evasa && codart == m._art_filter)
|
if (!evasa && codart == m._art_filter)
|
||||||
{
|
{
|
||||||
yes = TRUE;
|
yes = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user