Post Reply 
 
Thread Rating:
  • 0 Votes - 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.)
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
01-17-2018, 11:14 AM
Post: #2
RE: DefaultDisplayRecordsMax Is Ignored?
Wihch leads me to ask... Why two settings in two places?

https://www.linkedin.com/in/eclipsepaulbecker
Visit this user's website Find all posts by this user
Quote this message in a reply
01-17-2018, 06:42 PM
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
01-17-2018, 10:41 PM (This post was last modified: 01-17-2018 10:56 PM by VortecCPI.)
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
01-17-2018, 11:28 PM
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)