Harold Kyle

Results 5 comments of Harold Kyle

Yup, just trying to quiet my logs. Thanks! Good point on checking whether this is called elsewhere in this plugin. I grepped my wp-content directory and didn't find many other...

@dilip489 I was having this same problem because the `order` property needs to be in another array. In your example: ``` order: [ [ { model: this.associations['profile_status'].target}, 'updatedAt', 'DESC' ]...

For future reference, the count argument goes in the data of the `fetchFiles` function in [/assets/scripts/actions/index.js](https://github.com/drewminns/slack/blob/aa4bfef42b95c63953a76bbeb09ec258e6ad584b/assets/scripts/actions/index.js#L22-L25) After playing with this, I was unsuccessful getting count responses higher than 1000--these requests...

Hard coding a sort function inside the `render` function of [slack/assets/scripts/components/file_display.js](https://github.com/drewminns/slack/blob/aa4bfef42b95c63953a76bbeb09ec258e6ad584b/assets/scripts/components/file_display.js#L50-L52) accomplishes this... ``` if (typeof this.props.fileGroup.fileList !== 'undefined' && this.props.fileGroup.fileList.length > 0) { this.props.fileGroup.fileList.sort( function(a,b){ if (a.size > b.size){...

Added code to enqueue styles properly so they don't get printed out at the wrong time. [WP documentation](http://codex.wordpress.org/Function_Reference/wp_register_style) says this _needs_ to happen in `wp_enqueue_scripts`. Also, dependencies need to be...