GithubHelp home page GithubHelp logo

Filtering of categories and items about k2 HOT 6 CLOSED

getk2 avatar getk2 commented on June 15, 2024
Filtering of categories and items

from k2.

Comments (6)

kavadas avatar kavadas commented on June 15, 2024

Hi. Can you please be more specific? You mean when you searching in the administration? If yes, K2 search is built on MySQL full text features. MySQL full text by default indexes word of minimum 4 characters.

from k2.

wpompen avatar wpompen commented on June 15, 2024

Okay...
There's a pulldown in the admin pages that states " - Select Category - ", this is where it happens.
(also with "Items")
Filtering starts showing results even when 1 character is entered.
What's also strange is that a category named 1999-2004 doesn't appear when entering 2, 20, 200 or 2004 but does when entering 1, 19, 199, 1999. So the first number only is used?

from k2.

kavadas avatar kavadas commented on June 15, 2024

I created both an item and a category named "1999-2004" and the search works as it should. Which version of K2 are you using? Also check the setting named "Administration item search" . If you want to search only titles then set it to "Simple (Title only)".

from k2.

wpompen avatar wpompen commented on June 15, 2024

I'm using K2 2.6.7
Changing the search settings had no effect.
Here you can see what happens:
cat
You see the result 2005-2010 in [3]?
When I enter 2010 in the filterbox, these don't show up also, only the number before the "-" seems to work.

from k2.

kavadas avatar kavadas commented on June 15, 2024

What you are seeing the there is not search. It is a filtering option for the drop-down list of the category. Joomla! makes all select lists by default like this by using this jQuery plugin http://harvesthq.github.io/chosen/. We have no control over the way this filters the drop-downs.

from k2.

wpompen avatar wpompen commented on June 15, 2024

I never statet it was about "search", but anyway, case closed, thank you for your effort! :-)

from k2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.