Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

From the above code it's obvious that doing 2 DB queries isn't necessary because selected record count (0 or more) is enough to determine if there is enough data to be displayed.

I propose to do following:

...

Solution

  1. in "kDBList::GetSelectedCount

...

  1. " add call

...

  1. to "kDBList::Query" method if list wasn't queried

...

  1. (like it's done in "kDBList::GetRecordsCount")
  2. create "kDBTagProcessor::SelectedRecords" tag, that will call above method

...

  1. add "selected" type to "kDBTagProcessor::GridInfo" tag to allow retrieval of selected record count

Related Tasks

Jira Legacy
serverSystem Jira
serverId513b375f-8291-3313-9d9f-704c39b1f915
keyINP-1551