IProperty

Intellectual Property is a full-featured real estate extension for the Joomla! CMS

IPReserve

IPReserve is a reservation extension for IProperty.

IReport

Need to keep track of your IProperty stats? Meet IReport - a reporting tool for IProperty!

Work Force

Work Force is a staff listing extension for the Joomla! CMS. Show off your employees with style!

Report Card

Report Card is a testimonials extension for the Joomla! CMS. What are people saying about your company or product?

UTransport

Ultra Transport is a full-featured vehicle listing extension for the Joomla! CMS

Project Log

Project Log is a project management extension for the Joomla! CMS. The best part is, it's totally free!

Forums

Have pre-sales questions or need support for an existing subscription? Look no further - we have active support forums and pride ourselves on friendly and timely response!

The Thinkery

Not finding what you're looking for? Don't hesitate to contact us!

Before Posting...

Before posting questions in the forums, please be sure to read the FAQs by clicking on the FAQs link in the sidebar product menu. You must be logged in and have a valid subscription to access the SUPPORT FORUMS.
×
Support Policy Notice

As outlined in our Rules section (though never closely followed by our staff!), effective immediately we will no longer be taking time to provide customizations of our products.

× PLEASE DO NOT POST SUPPORT QUESTIONS HERE!

Ability to automatically list employees alphabetically by last name?

More
3 years 8 months ago #46129 by onetechn
onetechn replied the topic: Ability to automatically list employees alphabetically by last name?
IANP... but try this.

/components/com_workforce/models/allemployees.php
Line #60 inside the the populateState() function.

Where it sets the default value if nothing is sent via the form:
$orderCol = $app->input->get('filter_order', 'e.ordering');
if (!in_array($orderCol, $this->filter_fields)) {
	$orderCol = 'e.ordering';
}

Adjust $orderCol to use e.lname if it doesn't find anything passed from the form:
$orderCol = $app->input->get('filter_order', 'e.ordering');
if (!in_array($orderCol, $this->filter_fields)) {
	$orderCol = 'e.lname';
}

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #47599 by bgpa
bgpa replied the topic: Ability to automatically list employees alphabetically by last name?
Excellent concept - is this 'tweak' publicly available or are all requests handled individually? If so can I please be advised on how to implement the 'tweak'

Please Log in or Create an account to join the conversation.

Moderators: vinny
Time to create page: 0.284 seconds