niota

fascinating. logical.

User Tools

Site Tools


niota-docs:niota_system_config_defaults

This is an old revision of the document!


USE_DEFAULT_PK_ORDER_BY

Flag to toggle generation of default order by clause.

  • true → ORDER BY clause based on primary key is generated
  • false → no ORDER BY clause is generated

DEFAULT_GRID_ORDER_BY

Default direction of order by clause if USE_DEFAULT_PK_ORDER_BY is on.

  • “ASC” → ascending order
  • “DESC” → descending order

SYSTEM_OBJECT_ALIAS_GRID

String + pattern for alias clause for editing tables when catalog object join is used

  • “” (blank) → no alias
  • “a” → the alias is the given character or string
  • “abc%cat_id%” → the alias is the given character or string concatenated with the actual catalog ID.
 define('USE_DEFAULT_PK_ORDER_BY', true);
 define('DEFAULT_GRID_ORDER_BY', 'ASC');
 define('SYSTEM_OBJECT_ALIAS_GRID', 'a%cat_id%');
niota-docs/niota_system_config_defaults.1641388346.txt.gz · Last modified: 2025/07/17 14:11 (external edit)