Skip to content
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

34982 Edit list view #531

Merged
merged 1 commit into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions plugin/Gui/AdminPageEstateDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
use stdClass;
use function __;
use function add_action;
use function add_screen_option;
use function do_accordion_sections;
use function do_action;
use function do_meta_boxes;
Expand Down Expand Up @@ -284,7 +283,6 @@ protected function generateAccordionBoxesContactPerson(FieldsCollection $pFields
*/
protected function buildForms()
{
add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
$pFormModelBuilder = new FormModelBuilderEstateDetailSettings();
$pFormModel = $pFormModelBuilder->generate($this->getPageSlug());
$this->addFormModel($pFormModel);
Expand Down
2 changes: 0 additions & 2 deletions plugin/Gui/AdminPageEstateListSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
use onOffice\WPlugin\Record\RecordManager;
use stdClass;
use function __;
use function add_screen_option;
use function wp_enqueue_script;
use function wp_localize_script;

Expand Down Expand Up @@ -79,7 +78,6 @@ public function __construct($pageSlug)

protected function buildForms()
{
add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
$pFormModelBuilder = new FormModelBuilderDBEstateListSettings();
$pFormModel = $pFormModelBuilder->generate($this->getPageSlug(), $this->getListViewId());
$this->addFormModel($pFormModel);
Expand Down
1 change: 0 additions & 1 deletion plugin/Gui/AdminPageEstateUnitSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public function __construct($pageSlug)

protected function buildForms()
{
add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
$pFormModelBuilder = new FormModelBuilderDBEstateUnitListSettings();
$pFormModel = $pFormModelBuilder->generate($this->getPageSlug(), $this->getListViewId());
$this->addFormModel($pFormModel);
Expand Down
2 changes: 0 additions & 2 deletions plugin/Gui/AdminPageFormSettingsBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
use onOffice\WPlugin\WP\InstalledLanguageReader;
use stdClass;
use function __;
use function add_screen_option;
use function esc_sql;
use function wp_enqueue_script;

Expand Down Expand Up @@ -420,7 +419,6 @@ private function readCustomLabels(): array

protected function buildForms()
{
add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
$this->_pFormModelBuilder = $this->getContainer()->get(FormModelBuilderDBForm::class);
$this->_pFormModelBuilder->setFormType($this->getType());
$pFormModel = $this->_pFormModelBuilder->generate($this->getPageSlug(), $this->getListViewId());
Expand Down
2 changes: 0 additions & 2 deletions plugin/Gui/AdminPageSimilarEstates.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
use stdClass;
use function __;
use function add_action;
use function add_screen_option;
use function do_action;
use function do_meta_boxes;
use function do_settings_sections;
Expand Down Expand Up @@ -193,7 +192,6 @@ protected function generateAccordionBoxes(FieldsCollection $pFieldsCollection)
*/
protected function buildForms()
{
add_screen_option('layout_columns', array('max' => 2, 'default' => 2) );
$pFormModelBuilder = new FormModelBuilderSimilarEstateSettings();
$pFormModel = $pFormModelBuilder->generate($this->getPageSlug());
$this->addFormModel($pFormModel);
Expand Down