Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modify record default view order
#1
As the title says, how can I modify the default view order of records.

Presently it resets itself when the user logs off. At loggon the default view order is reset to the account_no (organizations module) or contact_id (contact module). I assume this applies to all other modules too.
Reply
#2
See if this helps:

<!-- m --><a class="postlink" href="http://corebos.org/documentation/doku.php?id=en:devel:develtips#modify_record_default_view_ord">http://corebos.org/documentation/doku.p ... t_view_ord</a><!-- m -->
Joe
TSolucio
Reply
#3
Thanks you. That's what I needed.
Reply
#4
<!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->

Have a wonderful weekend
Joe
TSolucio
Reply
#5
The happy moment here (which is a rarity) is that by default the Account and Contact modules are ordered respectively by the 'accountname' and 'lastname'. Since I wanted the default order to be exactly that, I didn't even need to modify each module's main script but only modify line 27 of the config.performance.php file from:
Code:
'LISTVIEW_DEFAULT_SORTING' to false
to
Code:
'LISTVIEW_DEFAULT_SORTING' to true
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)