Child pages
  • [unit configs] Remove "ItemSQLs" from unit configs [5.3.0-B1]
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/e959d475324b855d#

There are 2 (among many) settings in unit config called:

  • ListSQLs
  • ItemSQLs

These are respectively database queries to select a list of items (on grid template) and one item from a list (on editing template). Both database queries are usually the same and that's why there is a fallback, which tells that when ItemSQLs setting is missing, then ListSQLs setting is used instead.

This is very good, but since we still have both ItemSQLs and ListSQLs present in most of unit configs, then replacing one database query will required twice same amount of PHP code because we need to change both settings.

Related Tasks

INP-1156 - Getting issue details... STATUS

INP-1579 - Getting issue details... STATUS

2 Comments

  1. Agreed, we can remove where possible.

    Please file a new task for In-Portal 5.3.x?

    DA

  2. Here is the task:

    INP-1156 - Getting issue details... STATUS