Giter Club home page Giter Club logo

omeka-plugin-defaultsearchoptions's Introduction

DefaultSearchOptions Plugin

This plugin lets an administrator set the default search options for advanced search in Omeka. Note that the options set here will apply when advanced search is disabled.

You might want to change the default search type from 'Keyword' to 'Boolean' if you are encountering issues with records not being returned. MySQL full text indexing has a built-in stopword list. In addition, any word that occurs in more than 50% of the records in the index is added to the stoplist, making searches for common metadata elements impossible. Using a Boolean search will lose some of the flexibility of the default Keyword search, but it will ignore the stopword list and the 50% threshold.

This plugin will only work in Omeka 2.3 and higher, as the required filters were first implemented in version 2.3.

Installation

  1. Put these files in a folder called DefaultSearchOptions in your Omeka plugins directory.
  2. In the admin interface, click to Install the DefaultSearchOptions plugin.
  3. Configure the default options

Thanks

Inspiration to put the plugin together comes from the very simple and very useful DefaultSort plugin by The Digital Ark.

omeka-plugin-defaultsearchoptions's People

Contributors

waltricejr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

omeka-plugin-defaultsearchoptions's Issues

'Default Search Query Text' option appears as a searched text instead of a placeholder

The text entered into the 'Default Search Query Text' field of the plugin config form appears in the search form as the 'value' attribute of the 'input' tag. This makes a user to delete this text manually before entering the searched phrase.
My understanding of the 'Default Search Query Text' is a helper text, prompting a user to enter some word into the search form. For such purpose the 'placeholder' attribute should be used.

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.