Ticket #3192 (closed defect: fixed)

Opened 8 years ago

Last modified 5 years ago

Searching username breaks on short usernames

Reported by: cjg Owned by:
Priority: Intend to Milestone: EPrints 3.0.x (bugs go here)
Component: - Version: 3.0
Severity: normal Keywords:
Cc: af05v@…

Description (last modified by cjg) (diff)

Because username field uses full text search, it doesn't allow you to search for very short (2 or 3 char names)

This could be sorted by making a very simple "String" metafield type for fields like username. It would just need a

sub get_search_group { return 'set'; }


sub get_search_conditions_not_ex (copied from Set.pm)

.. then change many text fields to be "string" instead. eg.

  • access - most fields
  • eprint - dir
  • history - datasetid
  • request - email, requester_email (also docid should become an itemid)
  • subject - subjectid, parents, ancestors
  • user - username, pin

Change History

Changed 8 years ago by cjg

  • description modified (diff)

Changed 8 years ago by cjg

  • description modified (diff)

Changed 7 years ago by tdb01r

  • priority changed from unset to Intend to

Changed 5 years ago by cjg

  • status changed from new to closed
  • resolution set to fixed

Should now be resolved for usernames, at least.

Note: See TracTickets for help on using tickets.