Menu

The Search Function

2008-06-25
2013-04-09
  • Sandy Zhang

    Sandy Zhang - 2008-06-25

    First and foremost great work on this project, it saves a lot of time and is by far the most customizable inventory system available on sourceforge. I have however one small enquiry - the search function searching only the selected category exclusive of subcategories is rather inconvenient - although i worked around that by implementing only one category level. But it would be much easier if users were able to perform a cross-category search. is such a feature difficult to implement? Or perhaps you are already considering this (hopefully =P)?

     
    • Mark Roydhouse

      Mark Roydhouse - 2008-10-03

      Hi There, I am running XAMPP on winxp. I can't seem to get the search function to work. no matter what search term I put in I just get all the results back. phpInv works fine on my personal webspace, but I would also like to get it working locally as well, everything else apart from the search function works perfectly. Can anybody suggest anything.

      Cheers

      Mark

       
    • Nobody/Anonymous

      Same problem here with the search .. no matter what i search for it shows all content

       
    • Nobody/Anonymous

      Add the following two lines to inc/variables.php

      isset($_GET['keyword']) ? $keyword = $_GET['keyword'] : $keyword = $_POST['keyword'];
      empty($_GET['keyword']) ? $keyword = '.' : $keyword = $keyword;

      This should solve the problem of the search

       
      • Nobody/Anonymous

        Exellent solution. Worked like a charm.

        Thank you very much.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.