[Koha-bugs] [Bug 11203] Datatables in acqusitions do not ignore "stopwords" in titles

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 7 00:57:22 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11203

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcook at prosentient.com.au

--- Comment #5 from David Cook <dcook at prosentient.com.au> ---
(In reply to Katrin Fischer from comment #4)
> Hm, there is
> http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=koha-tmpl/intranet-
> tmpl/prog/en/includes/datatables.inc;
> h=703d1e3e9637aad3923e2ab2fbe557c2b55869db;
> hb=e81513199cba41a254820347442719a6fd50ec0b which includes a line with the
> articles that is translatable. I am not sure if that is what gets used with
> 'anti-the', but it might. Even better than a translatable line would be
> making this a system preference, so you can change it anytime without having
> to update the po files.

Yep, CONFIG_EXCLUDE_ARTICLES_FROM_SORT is the variable that provides the
articles.

You can see this in "git\koha-tmpl\intranet-tmpl\prog\en\js\datatables.js"

It's a modified version of this Datatable plugin:
http://datatables.net/plug-ins/sorting#anti_the

A system preference might be an idea, although I wonder how that would look? It
seems to me that you would need to express quite a few different key->value
relationships. 

Plus, you would need to have translators providing the values for that system
preference, at least initially. Would translators be up for that?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list