Skip to main content
Topic: MULTIPLE LIST PAGE (Read 1761 times) previous topic - next topic

MULTIPLE LIST PAGE

Hello, i have a problem:

1 - I created 6 list page of same table, (list1, list2,list3,..list6)
2 - I need to create a select field filter in each list page, with same fieldname and different datasource. Ezample:
"SELECT  DISTINCT dato2 AS value, dato2 AS label FROM archivos WHERE dato1='value1' ORDER BY dato2 ASC" ,
"SELECT  DISTINCT dato2 AS value, dato2 AS label FROM archivos WHERE dato1='value2' ORDER BY dato2 ASC"  ,
etc...
3 - Onle the list1 and list2 works. I see SharedController.php , and only existe 2 function, not 6.
   function archivos_archivosdato2_option_list()
   function archivos_archivosdato2_option_list_2()

Why???

Thanks



 

Re: MULTIPLE LIST PAGE

Reply #2
Hi! What is the solution? I'd like make a custom add page, with a modified query to a attrib in a table, but the function return with an empty list. The qwery is correct is phpmyadmin.