We have moved to Github. Please open tickets there.

Opened 2 years ago

Closed 21 months ago

Last modified 21 months ago

#3619 closed Defect (duplicate)

livesearch handler must output search results as JSON array instead of plain text

Reported by: blacktooth Owned by:
Priority: normal Milestone: Needs Review
Component: Core Version: Github Master
Severity: minor Keywords: gsoc-ajax
Cc: brett@…, evan@… Difficulty: trivial

Description


Change History (5)

comment:1 Changed 23 months ago by ewinslow

Can you give us an example output as it is now and an example output as you think it should be? Also, when you report tickets, it would be super helpful to add some explanation as to why certain features are needed. Thanks!

comment:2 Changed 23 months ago by blacktooth

The output can be a JSON array of search result objects. Something like,

{

[

Object,
Object,
Object

]

}

Object contains the attributes type, subtype, guid etc

This commit https://github.com/blacktooth/Elgg/commit/43eabe3701383ca6cdc706b205f60f2c456f2c02 outputs this type JSON Array.

comment:3 Changed 22 months ago by blacktooth

  • Keywords gsoc-ajax added

comment:4 Changed 21 months ago by brettp

  • Resolution set to duplicate
  • Status changed from new to closed

This is basically a dupe of #2102.

@Blacktooth - If you have this working in your fork, please update to latest master and send a pull request.

comment:5 Changed 21 months ago by blacktooth

Note: See TracTickets for help on using tickets.