Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Filter searchbox on field Title, label Search %s

[FIXED] Filter searchbox on field Title, label Search %s 12 Mar 2012 11:35 #1556

  • molenwal1
  • molenwal1's Avatar
  • Offline
  • Senior Member
  • Posts: 63
  • Thank you received: 17
  • Karma: 3
I have a field Title in two tables, i want to set this as a search field in a collection in the back-end.

I changed the filter label of the search box into 'Title'

In the collection in the Sandbox the label 'Search %s' is used instead of 'Title'.

Search boxes with other labels are working fine.
Molenwal1 Webdesign
www.molenwal1.nl
The administrator has disabled public write access.

Re: Filter searchbox on field Title, label Search %s 12 Mar 2012 12:32 #1557

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Wich PTL ? (project / table / layout)

You say that is not working only with the 'Title' string ?
If a specific search is affected, what about recreating it ?
Can you see a particular bug in the source code if you download it ?
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Filter searchbox on field Title, label Search %s 12 Mar 2012 13:06 #1558

  • molenwal1
  • molenwal1's Avatar
  • Offline
  • Senior Member
  • Posts: 63
  • Thank you received: 17
  • Karma: 3
Project: MW1 booking
Table: Main Property Language
Layout: Main Property Language

I found some more information in the default_filters.php of this layout:
<div class='filter_var_title'>
					<?php echo JDom::_('html.form.input.search', array(
											'domID' => 'filter_var_title',
											'dataKey' => 'filter_var_title',
											'dataValue' => $this->filters['var_title']->value,
											'label' => 'JSEARCH_TITLE'
												));


						?>
				</div>

The label is JSEARCH_TITLE, ik think it should be MW1BOOKING_JSEARCH_TITLE. The MW1BOOKING_JSEARCH_TITLE is not added into the language ini file.
Molenwal1 Webdesign
www.molenwal1.nl
The administrator has disabled public write access.
The following user(s) said Thank You: admin

Re: Filter searchbox on field Title, label Search %s 12 Mar 2012 13:08 #1559

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Good catch
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Filter searchbox on field Title, label Search %s 12 Mar 2012 13:33 #1560

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed.

Please regenerate.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: molenwal1
Time to create page: 0.069 seconds

Get Started