Jump to content

Small issue with displaying features in the BO product list


Recommended Posts

Hi,

I have added a few columns with features to the Catalog->Products.

All OK except I can't get the search to work for them.

My problem is that in  order to be displayed I need to make a sql alias for each table column which has to be exactly the column name, alias used by the SELECT clause.

I need to do that otherwise I get an error in the WHERE clause for xxxx not being a column name.

But if I end up with lets say 4 identical aliases then these couldn't be added to the fields_list in order to construct the form columns.

Using the column alias from the SELECT clause doesn't work, it displays the column data but results in no search data found.

Any idea of how the search can be achieved when having to deal with multiple tables having the same column name?

Link to comment
Share on other sites

Yes I have tried that but for some unknown reason the search doesn't work unless the alias is "value" which is each table's column name.

If I use a different alias, the content of the table column is displayed but not searchable :puzzled:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...