-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add overallcount for addresses #918
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ingoKrOffice
Zwei Rückfragen, sonst in Ordnung
plugin/AddressList.php
Outdated
@@ -159,28 +165,28 @@ public function __construct(DataViewAddress $pDataViewAddress = null, AddressLis | |||
public function loadAddressesById(array $addressIds, array $fields) | |||
{ | |||
$this->_pEnvironment->getFieldnames()->loadLanguage(); | |||
$pApiCall = new APIClientActionGeneric | |||
$this->_pApiClientAction = new APIClientActionGeneric | |||
($this->_pEnvironment->getSDKWrapper(), onOfficeSDK::ACTION_ID_READ, 'address'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ist das nicht redundant, wenn das schon im Konstruktor passiert?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ja, definitiv... kann raus
plugin/AddressList.php
Outdated
@@ -205,21 +211,21 @@ public function loadAddresses(int $inputPage = 1) | |||
$apiOnlyFields = $pModifier->getAllAPIFields(); | |||
$parameters = $pDataListViewToApi->buildParameters($apiOnlyFields, $this->_pDataViewAddress, $newPage, true); | |||
|
|||
$pApiCall = new APIClientActionGeneric | |||
$this->_pApiClientAction = new APIClientActionGeneric | |||
($this->_pEnvironment->getSDKWrapper(), onOfficeSDK::ACTION_ID_READ, 'address'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ist das nicht redundant, wenn das schon im Konstruktor passiert?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ja, definitiv... kann raus
No description provided.