View Issue Details

IDProjectCategoryView StatusLast Update
0002711AJAX/JSBug Report - Interfacepublic2016-11-17 14:15
ReporterHinoe Assigned ToDerIdiot  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Fixed in Version2016-12 
Summary0002711: File massadd and related pages: search works poorly for group names with special characters
Descriptionhttps://anidb.net/perl-bin/animedb.pl?show=addfilem&aid=11922
https://anidb.net/g14340

Deth was trying to add files to this group, but the search in the file massadd page was returning tons of unrelated results no matter what he did, which flooded the wanted result out of the list. This wasn't terribly helpful and prevented him from finding the group in order to add the files. We believe this is due to the "&" present in the name. After tinkering with the search for a bit, I ultimately figured out that "-T&A-" yielded a sufficiently short, and hence useful, list of results, and he used that.

As a fix, I suggest interpreting *every* character in that search as literal. This may not be the wanted behavior every time, so I suppose it should be a checkbox with a label akin to "literal search (use if you get too many results due to special characters in the group name)", rather than the new default.

As an additional workaround for when this happens, searching for a number (and nothing else) should always yield the group whose gid matches it, if one exists.

The same changes should also be applied to the file edit page, where files can have their group changed, to any mod/maintainer page sporting a similar function, and to any other related pages I may have forgotten about.
TagsNo tags attached.

Activities

Hinoe

2016-11-15 21:39

reporter   ~0003917

Clarification:

>I ultimately figured out that "-T&A-" yielded a sufficiently short, and hence useful, list of results, and he used that.

In this sentence, I meant this including the quotation marks. As in, '-T&A-' didn't work, but '"-T&A-"' did, where the single quotation mark wasn't part of the search, but the double quotation mark was. Sorry about the ambiguity.

Issue History

Date Modified Username Field Change
2016-11-15 21:35 Hinoe New Issue
2016-11-15 21:39 Hinoe Note Added: 0003917
2016-11-17 13:54 DerIdiot Project HTML & PERL => AJAX/JS
2016-11-17 14:15 DerIdiot Assigned To => DerIdiot
2016-11-17 14:15 DerIdiot Status new => resolved
2016-11-17 14:15 DerIdiot Resolution open => fixed
2016-11-17 14:15 DerIdiot Fixed in Version => 2016-12