#5960 closed defect (bug) (fixed)
Members pagination and search_term in ajax request from placeholder in other languages
| Reported by: | An-tonio | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | Templates | Version: | 2.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
Wordpress: 4.0
Buddypress: 2.1.1
In members listing, ajax pagination is not working for other languages.
In ajax post Request I see that search_term is set to placeholder value (in spanish this is "Buscar usuarios..." and when paginate it get no results.
In english it work ok.
I think it can be the same problem with all search/listing/pagination.
Thanks.
Attachments (2)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi An-tonio,
Thanks a lot for your feedback. this is a side effect of r9045. I'm using the placeholder because if javascript is disabled the pagination don't get the search_terms as the field value is empty.
I think we have two ways to solve this :
sparameter > see 5960.01.patchplaceholderattribute for the default textbp_get_search_default_text()but use thevalueif a search was performed > see 5960.02.patch