Ticket #2441 (closed enhancement: fixed)

Opened 2 years ago

Last modified 23 months ago

Create demo search page

Reported by: aron.carroll Owned by: aron.carroll
Priority: major Milestone: ckan-sprint-2012-06-25
Component: ckan Keywords: demo-theme
Cc: toby Repository: ckan
Theme: none

Change History

comment:1 Changed 2 years ago by aron.carroll

  • Milestone changed from ckan-sprint-2012-05-29 to current-ckan-sprint-2012-06-25

comment:2 Changed 2 years ago by aron.carroll

  • Status changed from new to accepted

comment:3 Changed 2 years ago by aron.carroll

  • Owner changed from aron.carroll to toby
  • Status changed from accepted to assigned

Order by needs hooking up to form. Currently it's just a @<select>@ element containing a single entry, it needs the other possible options added. Let me know if you want more details.

comment:4 Changed 2 years ago by toby

  • Owner changed from toby to aron.carroll

@aron,

this is now in a snippet (jinja2 allows the selected="selected" more easily) needs some work still eg translation stuff and also maybe completely rewrite the snippet at some point.

Anyhow the functionality is there. I added the button for no javascript working.

I'm assigning to you for beautification etc

on live demo http://s031.okserver.org:2375/dataset?q=&sort=title_string+asc

comment:5 Changed 2 years ago by aron.carroll

  • Owner changed from aron.carroll to toby
  • Description modified (diff)

There's already a submit button in the form (it's the question mark) it's up for discussion on Basecamp if this is clear, apparently it's not.

I'm going to throw this back to you to implement the popular badges, I'll tidy that form up later. Perhaps we can get a helper such as h.isPackagePopular(pkg) that can be customised on a per instance basis.

comment:6 Changed 2 years ago by aron.carroll

Not question mark sorry, I meant magnifying glass (inside the search box)

comment:7 Changed 2 years ago by toby

  • Owner changed from toby to aron.carroll

popular badges on package list - may make them optional/configurable at some point but good enough for now. see http://trac.ckan.org/ticket/2442 for details

With the order button this is for none javascript users i'm not sure the magnifying glass looks like the thing to press to reorder the results. I'd hide it when javascript enabled. Do what you will

@aron I'm assigning this to you close or reassign to me if you need extras adding

comment:8 Changed 23 months ago by aron.carroll

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

Closing this as the page is up. Issues should be reported as new tickets.

Note: See TracTickets for help on using tickets.