We have moved to Github. Please open tickets there.

Opened 2 years ago

Closed 2 years ago

#2922 closed Defect (fixed)

pg/livesearch returning no results

Reported by: ewinslow Owned by: ewinslow
Priority: critical Milestone: Elgg 1.8.0
Component: Core Version: Github Master
Severity: blocker Keywords:
Cc: brett@… Difficulty:

Description

Blocking ability to test autocomplete and userpicker

Change History (6)

comment:1 Changed 2 years ago by cash

Try hitting: pg/livesearch?q=<example username>&match_on=users

It works for me but it returns newline separated json data encoded as text.

comment:2 Changed 2 years ago by cash

I think jqueryui forces the query variable to "term" and Elgg is using "q". Is that the problem?

comment:3 Changed 2 years ago by ewinslow

probably. I'll see if there's a way to customize it on Monday.

comment:4 Changed 2 years ago by ewinslow

  • Owner set to ewinslow
  • Status changed from new to assigned

comment:5 Changed 2 years ago by ewinslow

Doesn't look customizable. Can we just add check for "term" in the livesearch page handler?

comment:6 Changed 2 years ago by ewinslow

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [svn:9025]) Fixes #2922: pg/livesearch now works with "term" parameter

Note: See TracTickets for help on using tickets.