opensourcepos icon indicating copy to clipboard operation
opensourcepos copied to clipboard

Search in more than one attributes

Open ahmed616 opened this issue 5 years ago • 11 comments

Background information

IMPORTANT: If you choose to ignore this issue report template, your issue will be closed as we cannot help without the requested information.

Please make sure you tick (add an x between the square brackets with no spaces) the following check boxes:

  • [] Reporting an issue of an unmodified OSPOS installation
  • [] Checked open and closed issues and no similar issue was already reported (please make sure you searched!)
  • [] Read README, WHATS_NEW, INSTALL.md and UPGRADE
  • [] Read the FAQ for any known install and/or upgrade gotchas (in specific PHP extensions installed)
  • [] Read the wiki
  • [] Executed any database upgrade scripts if an upgrade pre 3.0.0 (e.g. database/2.4_to_3.0.sql)
  • [] Aware the installation code is in bintray (see README), and GitHub master is for developers only and therefore not complete nor stable

Installation information

  • OSPOS version is:
  • OSPOS git commit hash is:
  • PHP version is:
  • MySQL or MariaDB version is:
  • OS and version is:
  • WebServer is:
  • Selected language is:
  • (If applicable) Docker installation:
  • (If applicable) Installation package for the LAMP/LEMP stack is:

Issue

When search in more than one attribute there is no result shown and when search in one attribute the value of other attributes disappear.

1 3 2

ahmed616 avatar Mar 16 '19 13:03 ahmed616

Something for me to look at.

jekkos avatar Mar 18 '19 09:03 jekkos

@jekkos shall we move this to 3.4.0?

daN4cat avatar Jun 02 '19 20:06 daN4cat

Not sure but I think this one can be closed as well now.

jekkos avatar Jun 30 '19 20:06 jekkos

Tables go away if I search on more than 1 attribute. No Items to display.

odiea avatar Jun 30 '19 20:06 odiea

How do you mean exactly? Is it the data in other columns that disappears?

jekkos avatar Jun 30 '19 20:06 jekkos

The 1st image has a search for 1 attribute. The second image I added an additional attribute. I assume this is what hew was trying to do? 2019-06-30 14_51_47-Window 2019-06-30 14_52_14-Window

odiea avatar Jun 30 '19 20:06 odiea

Ok now I see, I wonder whether that even works with regular search?

jekkos avatar Jul 01 '19 07:07 jekkos

So saying that this might be a non issue. I might change this into a feature request as I think that doesn't even work with regular item search. Any opinions?

jekkos avatar Jul 05 '19 20:07 jekkos

I would say that aggregate search on multiple attributes is a new feature fro 3.4.0.

daN4cat avatar Jul 06 '19 08:07 daN4cat

We should probably support a search syntax like:

tag color: blue, condition: new

daN4cat avatar Jul 06 '19 08:07 daN4cat

Yes some kind of search DSL would be nice here, but indeed lets move to 3.4 as I don't have a direct urge to implement it.

jekkos avatar Jul 06 '19 09:07 jekkos