Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DefaultDisplayRecordsMax Is Ignored?
01-17-2018, 08:11 AM, (This post was last modified: 01-17-2018, 11:14 AM by VortecCPI.)
#1
DefaultDisplayRecordsMax Is Ignored?
SelectProduct.php is ignoring this system configuration value.

A search shows $_SESSION['DisplayRecordsMax'] occurs in 18 files while $_SESSION['DefaultDisplayRecordsMax'] only occurs in 10 files.

Could this be part of the issue?
Never mind... I just found this is a per-User setting...
https://www.linkedin.com/in/eclipsepaulbecker
Reply
01-17-2018, 11:14 AM,
#2
RE: DefaultDisplayRecordsMax Is Ignored?
Wihch leads me to ask... Why two settings in two places?
https://www.linkedin.com/in/eclipsepaulbecker
Reply
01-17-2018, 06:42 PM,
#3
RE: DefaultDisplayRecordsMax Is Ignored?
$_SESSION['DisplayRecordsMax'] is a user specific setting whereas is global. When a new user is being created it should default to the global setting. IMHO $_SESSION['DisplayRecordsMax'] should be used in the scripts, which is what I try to remember to do when I am writing them.

Tim
Reply
01-17-2018, 10:41 PM, (This post was last modified: 01-17-2018, 10:56 PM by VortecCPI.)
#4
RE: DefaultDisplayRecordsMax Is Ignored?
(01-17-2018, 06:42 PM)falkoner Wrote: $_SESSION['DisplayRecordsMax'] is a user specific setting whereas is global. When a new user is being created it should default to the global setting. IMHO $_SESSION['DisplayRecordsMax'] should be used in the scripts, which is what I try to remember to do when I am writing them.

Tim

Ah... Now THAT makes sense. Thank you so much for clarifying.
https://www.linkedin.com/in/eclipsepaulbecker
Reply
01-17-2018, 11:28 PM,
#5
RE: DefaultDisplayRecordsMax Is Ignored?
Reading my post back it should of course read "whereas $_SESSION['DefaultDisplayRecordsMax'] is global" but I am glad it made sense anyway Big Grin
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)