Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » sample v3.0.0 sorting error
sample v3.0.0 sorting error [message #3343] Fri, 18 January 2013 21:04 Go to next message
jjtoranzo2004 is currently offline  jjtoranzo2004
Messages: 261
Registered: September 2012
Senior Member
Tony,

In the online sample application the
column sorting hyperlinks don't work.

After clicking them the following error appears:

Fatal error: Call to a member function getFieldSpec() on a non-object in /home/tonymars/public_html/sample/include.library.inc on line 5157

These hyperlinks don't work:
http://www.tonymarston.net/sample/person_list.php?session_na me=sample&orderby=person_id
http://www.tonymarston.net/sample/person_list.php?session_na me=sample&orderby=first_name
http://www.tonymarston.net/sample/person_list.php?session_na me=sample&orderby=last_name
http://www.tonymarston.net/sample/person_list.php?session_na me=sample&orderby=star_sign
http://www.tonymarston.net/sample/person_list.php?session_na me=sample&orderby=pers_type_desc

http://www.tonymarston.net/sample/pers_type_list.php?session _name=sample&orderby=pers_type_id
http://www.tonymarston.net/sample/pers_type_list.php?session _name=sample&orderby=pers_type_desc

http://www.tonymarston.net/sample/option_list.php?session_na me=sample&orderby=option_id
http://www.tonymarston.net/sample/option_list.php?session_na me=sample&orderby=option_desc

http://www.tonymarston.net/sample/tree_type_list.php?session _name=sample&orderby=tree_type_id
http://www.tonymarston.net/sample/tree_type_list.php?session _name=sample&orderby=tree_type_desc

LIST2
http://www.tonymarston.net/sample/pers_opt_xref_link%28a%29. php?session_name=sample&orderby=option_id
http://www.tonymarston.net/sample/pers_opt_xref_link%28a%29. php?session_name=sample&orderby=option_desc

http://www.tonymarston.net/sample/pers_opt_xref_link%28b%29. php?session_name=sample&orderby=person_id
http://www.tonymarston.net/sample/pers_opt_xref_link%28b%29. php?session_name=sample&orderby=first_name
http://www.tonymarston.net/sample/pers_opt_xref_link%28b%29. php?session_name=sample&orderby=last_name
http://www.tonymarston.net/sample/pers_opt_xref_link%28b%29. php?session_name=sample&orderby=star_sign


http://www.tonymarston.net/sample/tree_level_list.php?sessio n_name=sample&orderby=tree_level_id
http://www.tonymarston.net/sample/tree_level_list.php?sessio n_name=sample&orderby=tree_level_seq
http://www.tonymarston.net/sample/tree_level_list.php?sessio n_name=sample&orderby=tree_level_desc

http://www.tonymarston.net/sample/tree_level_multi.php?sessi on_name=sample&orderby=tree_level_id
http://www.tonymarston.net/sample/tree_level_multi.php?sessi on_name=sample&orderby=tree_level_seq
http://www.tonymarston.net/sample/tree_level_multi.php?sessi on_name=sample&orderby=tree_level_desc

http://www.tonymarston.net/sample/tree_node_list.php?session _name=sample&orderby=node_desc
etc

Thanks.
Re: sample v3.0.0 sorting error [message #3360 is a reply to message #3343] Tue, 22 January 2013 09:22 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2350
Registered: April 2006
Location: Surrey, UK
Senior Member
Fixed.

Re: sample v3.0.0 sorting error [message #3368 is a reply to message #3360] Wed, 23 January 2013 08:29 Go to previous messageGo to next message
jjtoranzo2004 is currently offline  jjtoranzo2004
Messages: 261
Registered: September 2012
Senior Member
Tony,

This is a different bug but also happens in connection with the sorting links.

Now the searched term gets "remembered" and the search result displayed when a new sort order is requested.

For example:
1) Go to "Search PERSON" http://www.tonymarston.net/sample/person_search.php
2) In the "First Name" field enter "James"
3) Press SUBMIT
4) In the List PERSON screen only the James Bond record (Id 007) is displayed
5) Press RESET
6) Ten records are displayed (from PA to SF)
7) Click on any column heading/hyperlink (e.g. http://www.tonymarston.net/sample/person_list.php?session_na me=sample&orderby=person_id)
8( Exclamation Only the 007 record is displayed, instead of the second set of 10 records.


Thanks.
Re: sample v3.0.0 sorting error [message #3369 is a reply to message #3368] Wed, 23 January 2013 08:48 Go to previous message
AJM is currently offline  AJM
Messages: 2350
Registered: April 2006
Location: Surrey, UK
Senior Member
Fixed. I forgot to clear the $search string after it had been used.

Previous Topic: Tabs in php files
Next Topic: sample v3.0.0 search error
Goto Forum:
  


Current Time: Sat May 18 03:44:19 EDT 2024

Total time taken to generate the page: 0.00928 seconds