Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

  • No labels